Iframe in HTML
Iframe syntax
iframe HTML is defined by tag
The src
attribute is used to determine the URL (web address) of the page within the inline frame.
Iframe - set height and width
The height
and width
attributes are used to determine the size of an iframe. The default attribute value is pixek but can be used as a percentage (eg 80%).
Or you can use CSS to set the height and width for iframe.
Iframe - remove borders
By default, iframe will have a border around it. To remove this border, add style
properties and use the CSS property as border.
With CSS, you can also change the size, style, and color of iframe borders.
Iframe - destination for the path
Iframe can be used as the target frame for the path. The target
attribute of the link must refer to the name
attribute of the iframe.
TipsMake.com
Previous post: id attribute in HTML
The following article: JavasScript in HTML
You should read it
May be interested
- JavaScript in HTMLin html, javascript makes the page more flexible and interactive.
- File path in HTMLthe article explains how to refer to the file path in html.
- Head element in HTMLin html, the element is a set containing metadata (metadata) placed in tags and tags.
- 10 best free HTML editing tools for Windows 2018a good html editor must have a spell checker, line number, autocomplete, page preview and a text and image editing tool. there are many types of editing tools (text, object and wysiwyg), so it is important to find an appropriate tool.
- Layout in HTMLwebsites often display content in the form of columns (like in newspapers or magazines).
- Design website running on multiple devices (responsive web design) in HTMLresponsive web design just uses html and css to automatically resize, hide, minimize, enlarge a website.