div class | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

div class

what is the meaning of divclass section

16th Jan 2018, 11:46 AM
Abhik Dey
Abhik Dey - avatar
2 Answers
+ 3
The real meaning of the div tag is division. <div> tag means dividing the html in sections. The class(it is an attribute) is used as an identification for the tags which gives them the properties such as height, width and etc. The <section> tag defines sections in a document, such as chapters, headers, footers, or any other sections of the document.
16th Jan 2018, 11:56 AM
Akash Pal
Akash Pal - avatar
+ 3
<style> .newdiv{ **** **** ***** } </style> <body class="newdiv"> </body>
16th Jan 2018, 12:53 PM
ali.natoura
ali.natoura - avatar