HTML TutorialLesson 26Free preview
HTML Iframes
This lesson is part of HTML · All levels
Summary
Iframe is created with the <iframe> element to embed other documents, such as maps or videos, within a page. The src attribute determines the page to be displayed and the width and height attributes set the size. Since it displays external content, the use of iframe needs to pay attention to page security and speed.
Key points
- <iframe> displays other pages within the current page
- Src specifies the URL of the content that is planted
- Width and height set the size of the iframe area
- Title attributes are important for accessibility
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.