HTML5 Code Tutorial

Frames Are Obsolete

Before You Proceed!

The frameset and frame tags are not supported in HTML5.

Therefore, we have replaced our frames pages with information on using iframes.


The HTML5 Code


HTML Attributes

src Source material (url) web page, video,image
name Unique name used for targeting source documents into iframe
width Optional(Use CSS)
height Optional(Use CSS)

No Scrolling

The no scrolling attribute was deprecated in HTML5, but there are no cross browser solutions for removing it.

CSS Attributes & Properties

Global Attributes

The HTML5 Code

This is the code for the iframe.
<iframe id="ifrm" name="content" src="sample.html">
<p>Your browser does not support iframes!</p>

Set its attributes in the style sheet.