+ 1

What are class and div used for ?

24th Dec 2017, 7:33 PM
Cedrick
Cedrick - avatar
3 odpowiedzi
+ 2
HTML - Div Element(s) The <div> tag is nothing more than a container unit that encapsulates other page elements and divides the HTML document into sections. Web developers use <div> elements to group together HTML elements and apply CSS styles to many elements at once.
24th Dec 2017, 7:58 PM
Android Boi
Android Boi - avatar
+ 2
class: The class selector is used to specify a style for a group of elements. Unlike the id selector, the class selector is most often used on several elements. This allows you to set a particular style for many HTML elements with the same class.
24th Dec 2017, 7:59 PM
Android Boi
Android Boi - avatar
+ 1
Thanks
24th Dec 2017, 8:04 PM
Cedrick
Cedrick - avatar