Theme Layout

Boxed or Wide or Framed

Wide

Theme Translation

Display Featured Slider

Featured Slider Styles

Display Grid Slider

yes

Grid Slider Styles

Display Trending Posts

Display Author Bio

Display Instagram Footer

off

Dark or Light Style

Light

Blog Archive

Powered by Blogger.

Monday, February 27, 2017

[HTML5] Iframes


# HTML Iframes


● Iframe Syntax

 An HTML iframe is used to display a web page within a web page.
 This is defied with the <iframe> tag.
<iframe src="URL"></iframe>


● Iframe - Set Height and Width

 Use the height and width attributes to specify the size of the iframe.
The attribute values are specified in pixels by default, but they can also be in percent.




● Iframe - Remove the Border

 By default, an Iframe has a border around it.
To remove the border, add the style attribute and use the CSs border property.



With CSS, programmer can also change the size, style and color of the iframe's border.




● Iframe - Target for a Link

 An iframe is used as the target frame for a link.
The target attribute of the link must refer to the name attribute of the iframe.


QuickEdit
Unknown
0 Comments
Share This Post :

You Might Also Like

No comments:

Post a Comment

Follow @SunriseSunsetBlog