How to use <div> Tag?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

How to use <div> Tag??

30th Nov 2016, 12:37 PM
Rudransh Joshi
Rudransh Joshi - avatar
2 Answers
+ 2
you can use it as a normal box-placeholder but in html5 standards you should use aside, article, header, footer,... instead if it hope this helps ~Kamil
30th Nov 2016, 1:13 PM
Kamil
Kamil - avatar
+ 1
div tag is an division tag....it should be used by you also as it makes CSS and js easier to control... div tag is used like this <div> content goes here </div>
30th Nov 2016, 12:40 PM
Harsh Khatri
Harsh Khatri - avatar