Professional Documents
Culture Documents
Web Tech Lect 7
Web Tech Lect 7
Presented By
Sudipta Sahana
Asst. Prof.
Dept. of CSE
JIS College of Engineering
Sudipta.sahana@jiscollege.ac.in
Topic of Interest
An inline frame is used to embed another document within the current HTML document.
<iframe src="URL"></iframe>
Use the height and width attributes to specify the size of the iframe.
Example –
Or you can add the style attribute and use the CSS height and width properties:
To remove the border, add the style attribute and use the CSS border property:
Example
With CSS, you can also change the size, style and color of the iframe's border:
Example
The following three <div> elements have their background color set with RGB, HEX,
and HSL values:
Thank
You