+ 5
Div command
how do u use the div command in HTML and what does it function
2 Answers
+ 3
It's a tag actually. The div tag is generally used by web developers to group HTML elements together and apply CSS styles to many elements at once. For example: If you wrap a set of paragraph elements into a div element so you can take the advantage of CSS styles and apply font style to all paragraphs at once instead of coding the same style for each paragraph element.
+ 1
Thank you