+ 1

<div class="section">, here what is (class="section")

5th Aug 2020, 3:43 AM
Shanto Islam
Shanto Islam - avatar
4 Réponses
+ 2
It will be more clear to you and got its importance when you start css. to target an element for design in css we use class name value Ex For your div to be red .section{ background:red; }
5th Aug 2020, 4:11 AM
Divya Mohan
Divya Mohan - avatar
+ 4
class is attribute name. section is attribute value. class="name" is attribute. Happy coding
5th Aug 2020, 3:53 AM
ツSampriya😘ツ
ツSampriya😘ツ - avatar
+ 2
class is a selector selects elements with specific class attribute. It is mostly used for giving css to tags. <div class="section"> Declaration of class like : use "." before class , .section{ //put here attribute and its value as you desire. } I hope this will help you. Thanks!
5th Aug 2020, 4:04 AM
Shaili Shah
Shaili Shah - avatar