search

Home  >  Q&A  >  body text

Why are there two DIV tags?

<!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>

金鹄金鹄1771 days ago1238

reply all(4)I'll reply

  • 涵璐

    涵璐2020-03-11 16:11:20

    Support what the second floor said

    reply
    0
  • Joortkz

    Joortkz2020-03-06 01:53:46

    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
    0
  • 金鹄

    Got it, thank you

    金鹄 · 2020-03-11 16:12:05
  • 845

    8452020-02-21 23:55:50

    Maybe it’s for the convenience of writing css

    reply
    0
  • Cancelreply