✅ Iframe HTML | Learn to Use Iframe HTML Tag With Its Different Attributes

preview_player
Показать описание
✅ Learn to use the Iframe HTML tag with Its different attributes using an easy to follow, practical coding example.
💡 The iframe HTML tag is used to create the HTML Inline Frame element. HTML Inline Frame element is used to create a nested browsing context, in other words, embedding another website into the current web page.

💡 The iframe HTML tag src attribute is used to specify the URL of the page to embed.

💡 The iframe HTML tag srcdoc attribute is used to contains the HTML codes of the website we want to display inside the iframe! The HTML codes must be escaped before they assigned to the srcdoc attribute.

💡 The iframe HTML tag width and height attributes are used to apply custom width and height to iframe.

💡 The iframe HTML tag title attribute is used to specify a short and accurate description of the web page we are going to embed. This will help people navigating with assistive technology such as a screen reader can use the iframe HTML tag title attribute's content to understand the web page content embedded by the iframe HTML tag.

💯 The complete overview of the HTML Anchor tag I used in this lecture can be found here:

💯 The complete overview on HTML File Paths can be found here:

💯 More about the Iframe HTML browser support status I mentioned:

💯The free HTML Escape Tool I used in this lecture:
Рекомендации по теме
Комментарии
Автор

you are great. i have learnt another side of html which is not seen earlier. keep it up.

umarchoudhary
Автор

Wow I never thought that we can also embed html codes into iframe, and escaping HTML codes are totally new concept for me! Thanks for this useful tips!

victoriaking
Автор

can i make a button that when pressed will become for example the Wikipedia in iframe dark ?

cyberkid