4.2.3 Embedding a Website
- Due Nov 30, 2023 by 11:59pm
- Points 5
- Submitting a text entry box or a file upload
- File Types html
iFrame Practice
In this exercise, you’ll practice using iFrames to embed other websites onto your web pages.
YOUR JOB
Embed the Wikipedia website onto your own webpage! Use the URL https://wikipedia.org Links to an external site. .
Style your iframe so that the embedded page has a height of 350px and a width of 450px.
Be sure to include your style.css file in the <head>
of your web page so that the CSS styles apply!
Hint:
1. For security reasons, you will only be allowed to embed website URLs that start with https://
. Website URLs that start with http://
may not be secure.
2. Some sites do not allow themselves to be iframed, also for security reasons. So not all websites will work.
STARTING CODE
<!DOCTYPE html>
<html>
<head>
<title>Embedding Wikipedia</title>
</head>
<body>
<!-- Your code here -->
</body>
</html>