+ 3

Div. Command

What is the implication of this command: <Div class="section">

26th Oct 2020, 11:45 PM
Ubong Eyo
Ubong Eyo - avatar
2 Antworten
+ 5
This creates a div with the classname section, but it isn't right like that. Should be: <div class="section"> . . . </div> Everything between the div is inside the div and has the div as parent.
27th Oct 2020, 12:21 AM
🔥EACY🔥
🔥EACY🔥 - avatar
+ 2
Hey, Div define a division or section. Div tag is used as containter for html element-which is then style with css or manipulated with javascript. <div Class="section"> </div> Creates a division with class name Section.so you can easily apply css to this division.
27th Oct 2020, 3:01 AM
AjayGohil