1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Riddle me this HTML Code Batman

Discussion in 'Off Topic' started by Chimpie, Jul 16, 2011.

  1. Chimpie

    Chimpie Well-Known Member

    Okay, that was just a sad title line. Anyway...

    I'm trying to create an indented sublist within a list for our Rules page. Check out:
    http://www.emtlife.com/faq.php#rules
    Scroll down to Fair Use Principal

    I coded it as:
    PHP:
    <ul>
    <
    li>The title of the source your are referencing</li>
    <
    li>No more than three paragraphs of the quoted material; (never quote the entire article)</li>
    <
    li>A hyperlink back to the source</li>
    <
    li>If you cannot provide a hyperlink back to the source (for examplein such cases of a documentmagazine or newspaperplease provide:</li>
    <
    ul>
    <
    li>The name of the publication</li>
    <
    li>Author</li>
    <
    li>Date published</li>
    <
    li>Page number of source</li>
    </
    ul>
    </
    ul>
    but HTML Validator is kicking it back saying the second <ul> is wrong.

    How am I supposed to properly code this?

    Chimpie
     
  2. James

    James Well-Known Member

    Put the second ul and its contents before the closing li on the "if you cannot provide" list item.
     
    Chimpie likes this.
  3. ragtek

    ragtek Guest

    Chimpie likes this.
  4. Chimpie

    Chimpie Well-Known Member

    Thanks guys!
     

Share This Page