<frame> tag? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

<frame> tag?

someone can explain me what this tag is doing?

29th Oct 2017, 1:56 PM
Yonatan
6 Respostas
+ 3
HTML frames are used to divide your browser window into multiple sections where each section can load a separate HTML document. A collection of frames in the browser window is known as a frameset. The window is divided into frames in a similar way the tables are organized: into rows and columns. To use frames on a page we use <frameset> tag instead of <body> tag. The <frameset> tag defines, how to divide the window into frames. TheĀ rowsĀ attribute of <frameset> tag defines horizontal frames andĀ colsĀ attribute defines vertical frames. Each frame is indicated by <frame> tag and it defines which HTML document shall open into the frame. NOTEāˆ’ The <frame> tag is not supported in HTML5. example:- Following is the example to create three horizontal frames āˆ’ <!DOCTYPE html> <html> <head> <title>HTML Frames</title> </head> <frameset rows = "10%,80%,10%"> <frame name = "top" src = "/html/top_frame.htm" /> <frame name = "main" src = "/html/main_frame.htm" /> <frame name = "bottom" src = "/html/bottom_frame.htm" /> <noframes> <body>Your browser does not support frames.</body> </noframes> </frameset> </html> Disadvantage:- There are few drawbacks with using frames, so it's never recommended to use frames in your webpages āˆ’ Some smaller devices cannot support with frames often because their screen is not big enough to be divided up. Sometimes your page will be displayed differently on different computers due to different screen resolution. The browser'sĀ backĀ button might not work as the user hopes. There are still few browsers that do not support frame technology.
29th Oct 2017, 2:12 PM
ElizabethšŸŒø
ElizabethšŸŒø - avatar
+ 7
<frame> is outdated. The latest standard is <iframe>
29th Oct 2017, 3:31 PM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 5
<frameset> and <frame> element are not supported in Html5: only <iframe> is not deprecated... Anyway, to use <frameset> and <frame> you must include the Html4 frameset doctype at begin of your source code ^^
29th Oct 2017, 2:16 PM
visph
visph - avatar
+ 4
Best answer mark set at answer the less useful ^^ (just saying again less verbosely what I've already specified in addition/correction to the @Elizabeth answer)
29th Oct 2017, 3:53 PM
visph
visph - avatar
- 1
ty all!
29th Oct 2017, 3:43 PM
Yonatan