What is div in html | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

What is div in html

4th Apr 2018, 7:36 AM
Pranam by M.G
2 Respuestas
4th Apr 2018, 1:32 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 2
http://www.tizag.com/htmlT/htmldiv.php The <div> tag is nothing more than a container unit that encapsulates other page elements and divides the HTML document into sections. Web developers use <div> elements to group together HTML elements and apply CSS styles to many elements at once. Example: <div id="myDiv" name="myDiv" title="Example Div Element"> <h5>Subtitle</h5> <p>This paragraph would be your content paragraph...</p> <p>Here's another content article right here.</p> </div>
4th Apr 2018, 7:39 AM
Andrey Vostokov
Andrey Vostokov - avatar