+ 5

Div command

how do u use the div command in HTML and what does it function

11th Nov 2017, 4:36 PM
King Frankostein®
King Frankostein® - avatar
2 Respuestas
+ 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.
11th Nov 2017, 4:56 PM
Harsh
Harsh - avatar
+ 1
Thank you
20th Feb 2018, 9:04 PM
Brainlesss
Brainlesss - avatar