0

What is the function of <div>tag ? And also about class ?

29th Aug 2017, 4:41 AM
Suji Priya
Suji Priya - avatar
2 Answers
+ 9
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. The HTML class attribute makes it possible to define equal styles for elements with the same class name.
29th Aug 2017, 4:47 AM
P R
P R - avatar
0
thnk u
30th Aug 2017, 12:57 PM
Suji Priya
Suji Priya - avatar