Basically I copied the CS50 style for the portfolio page of pset7. For the menu bar, I implemented the following: (this is at the top of my portfolio php code. After this, I display the table)

<u1 class="nav nav-pills">
    <li><a href="quote.php">Quote</a></li>
    <li><a href="buy.php">Buy</a></li>
    <li><a href="sell.php">Sell</a></li>

But when I check my outputted HTML with the validator, I get:

Error Line 30, Column 26: Element u1 not allowed as child of element div in this
context. (Suppressing further errors from this subtree.)

u1 class="nav nav-pills"

Content model for element div:
Flow content.
  • You copied the code wrong – <u1> is not a valid tag. You are looking for an unordered list.
    – Air
    Oct 3 '14 at 19:18

I think it should be ul (the lowercase letter 'L') not u1

  • omg... I'm gonna need to wear my glasses more often.. thanks! haha
    – Jesse
    Oct 3 '14 at 21:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .