What is frame in HTML code?

Asked By 0 points N/A Posted on -
qa-featured

What is a frame ? When and how is it used? Why do we need it in HTML? Is there any alternative for frame which can 

perform the functions of the frame?

SHARE
Best Answer by Tunacao_Caaron1
Best Answer
Best Answer
Answered By 20 points N/A #117680

What is frame in HTML code?

qa-featured

Hey Arman Hamilton!

If you want to display more than one Webpage in your single browser windows, then you have to use the FRAME.

Each webpage here is called as Frame. Here is a simple code for Frame in HTML.

<html>

<frameset cols="25%,50%,25%">

<frame src="frame_a.htm" />
<frame src="frame_b.htm" />
<frame src="frame_c.htm" />

</frameset>

</html>

In Frame, you have to give the particular space to each HTML Document. For example in the above code you can see that 25% of the space is given to A, 50% to B and 25% to C.

If you want to know more about the Frame then you can visit this link.

https://www.w3schools.com/tags/tag_frame.asp

I hope it will help u a lot.

Thanks

 

Answered By 5 points N/A #117681

What is frame in HTML code?

qa-featured

Frame is used to divide the page into many rectangular areas. The rectangle is called Frame in HTML. Frames are used to keep part of the page stable or fix.

Related Questions