Html Class 8th
⭐ CHAPTER: Creating Frames and Forms in HTML5 (Page 63 to Page 71 – Full Easy Notes + Codes) ✅ PAGE 63 — HTML Frames ⭐ What is an HTML Frame? Earlier HTML allowed dividing one browser window into multiple sections.
Each section could load a different webpage.
This was done using the <iframe> tag . Frame = “Inline Frame” → A small window inside the main webpage. ⭐ Syntax of iframe < iframe src = "URL or file name" title = "description" > </ iframe >
⭐ Important Attributes Attribute Purpose Example src Sets the file/webpage that will appear inside the frame <iframe src="demo.html"> height Sets frame height in pixels <iframe height="200"> width Sets frame width in pixels <iframe width="400"> ⭐ Activity: Creating an inline frame (Page 63) This will show another file inside the current HTML file. HTML Code: <!DOCTYPE html >
< html >
< head >
< title >Creating an Inline Frame </ title >
</ head >
< body style = "…