What is <div> tag? | Sololearn: Learn to code for FREE!


What is <div> tag?

10/9/2016 1:50:21 AM

JOHN PAUL Pavillon

2 Answers

New Answer


They are used as containers for different parts of your page. Give them classes, and style those classes with CSS and you can have different styles for particular classes e.g. class "red" could have red text, or class "center" could be aligned to the center of the page.