0

What is <div>

29th Aug 2017, 12:50 PM
Ansh Gupta
3 Respuestas
+ 1
The <div> tag defines a division or a section in an HTML document. The <div> tag is used to group block-elements to format them with CSS.
29th Aug 2017, 12:56 PM
Bhumiben Solanki
0
<divstyle="color:#0000FF">   <h3>This is a heading</h3>   <p>This is a paragraph.</p> </div>
29th Aug 2017, 12:58 PM
Bhumiben Solanki
0
It's a "block" of content in HTML, you use it to structure your page but since HTML5, you can use more reavelant name such as <aside> <footer> <header> <article> your code is more readable this way.
29th Aug 2017, 1:06 PM
coutable.n
coutable.n - avatar