Iframe in HTML
In HTML, iframe is used to display a web page within another website.
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
Maybe you are interested
The series of pictures revealing the wonders of nature not everyone has the opportunity to admire 15 strange images showing the diversity of nature, sometimes also unexplained by science The series of photos shows the natural world with many things we don't know How to Become an English Literature Professor The interaction between the Milky Way and a satellite galaxy is creating many new stars The most impressive cosmic images 2019