Why are there two DIV tags?
金鹄
金鹄 2020-02-15 12:22:26
0
4
1235

<!DOCTYPE html>

<html lang = "en">

<head>

<meta charset="UTF-8 ">

<title>User registration page</title>

</head><body>

<div id="top" >

<div id="menu">

<ul> 000/004/5816f7b0056da728.png></li>                                                                          href="">Technology Information</a></li>                                                                                          

##<li><a href="">Resource Collection</a></li>          

<li><a href="">Picture Text pictures </a></li>                                                                                                  ;li ><a href="">Log in</a>/<a href="">Register</a></li> ;

</div>

</div>

</body>

</html>

金鹄
金鹄

reply all(3)
涵璐

Support what the second floor said

Joortkz

You can draw a picture and think about it carefully. The first div is the largest one in the layout. The second div is the content inside a certain div. The first div is like a big box. There are many divs in the big box. The meaning of small box

  • reply Got it, thank you
    金鹄 author 2020-03-11 16:12:05
845

Maybe it’s for the convenience of writing css

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template