HTML – Frame Tag with Examples

The Frames Tag has been depreciated from HTML.

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


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

<iframe src=""></iframe>



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

Back to top button