Please can someone help shed more light on the <frame> tag and everything about it. Also more light on the div attribute thanks. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please can someone help shed more light on the <frame> tag and everything about it. Also more light on the div attribute thanks.

29th Aug 2020, 7:27 PM
Abdurrahman
Abdurrahman - avatar
3 Answers
+ 5
The frame tag is no longer used. You can skip it and learn the iframe tag. The div tag is used to create a block element (in opposition to inline elements) that represents a division on the page without a defined semantic meaning(You will learn about semantic elements when you reach HTML5 module). Please always use the search bar before asking to prevent duplicates. Both questions have been asked a million times before. https://www.sololearn.com/discuss/2069774/?ref=app https://www.sololearn.com/discuss/782265/?ref=app https://www.sololearn.com/discuss/2443110/?ref=app https://www.sololearn.com/discuss/1954265/?ref=app https://www.sololearn.com/discuss/1964955/?ref=app https://www.sololearn.com/discuss/804395/?ref=app https://www.sololearn.com/discuss/1344780/?ref=app https://www.sololearn.com/discuss/2459325/?ref=app https://www.sololearn.com/discuss/2358558/?ref=app https://www.sololearn.com/discuss/1876049/?ref=app
29th Aug 2020, 7:53 PM
Kevin ★
+ 3
div is a tag, not an attribute.
29th Aug 2020, 10:48 PM
Sonic
Sonic - avatar
+ 2
Abdurrahman the <frame></frame> tag is depreciated in HTML5 and <div> is a block tag </div> read more here: https://html.com/frames/ <div> tag can support all current global attributes and most all event attributes. https://www.w3schools.com/tags/ref_standardattributes.asp https://www.w3schools.com/tags/ref_eventattributes.asp
29th Aug 2020, 7:56 PM
BroFar
BroFar - avatar