HTML – Frame Tag with Examples

Frame

[box type=”note” align=”aligncenter” class=”” width=””]The Frames Tag has been depreciated from HTML. [/box]

Used to the splitting of a browser screen into frames is accomplished with the help of frameset tags embedded into the HTML document.

The tag requires one of the following two attributes depending on whether the screen has to be divided into rows or columns.

In HTML5 we can apply this as follows.

We can use the

<iframe>

tag to embed another URL or the document or the URL frame within the current HTML document.

<iframe src="https://youtu.be/8377wlYPMLE"></iframe>

In HTML

<iframeset>

has been depreciated instead of that you can use the above tag to represent the frame in HTML5.