8. wrap with a div


#1

Can someone show thee exact line of code and where the divs are put.


8. wrap up with div
#2

@brandmartin open your own topic paste in code+error message


#3

What do you mean can you expand


#4

This is my code:

<html>
  <body>
  <div>
	<ul><li>Sign Up<li>Log In<li>Help<ul>
	 </div>
	  <li>Brandon</li>
	  <li>Browse</li>
	  <li>Martin
  </body>
</html>

AND IT SAYS ERROR "PLACE BOTH UL ELEMENTS IN OPENING

AND CLOSING
TAGS.

#5

html
html
body
div
ul>

  • Sign Up
  • Log In
  • Help


    • Brandon

    • Browse

    • Martin


  • #6

    In order to make a list you start of with ul tag and each item on the list will use li tag and you close off with ul

    Like so:

    <ul> <!-- opening tag for unordered list -->
       <li> my list item </li> 
    </ul> <!-- closing tag for unordered list -->

    Remember each list item needs an opening and closing tag: <li> .... </li>


    #7

    You need to enclose the list items "Brandon,Browse, and Martin " with a ul tag.