Web Page Design and Hosting

July 30, 2007

Chapter 7: Moving Ahead with XHTML

Filed under: Web Design — webmaster @ 2:29 am

Chapter 7: Moving Ahead with XHTML 159 Secret #117: Proper Nesting of Lists One thing that markup authors moving to XHTML stumble over early on is how to nest lists properly in XHTML. In HTML, you could leave off the closing tag, and nest lists like this:

  • Pens
    • Felt tip
    • Highlighter
    • Fountain
  • Envelope
  • Stamp

The results (shown in Figure 7-5) are a nested, unordered list. Figure 7-5: A nested unordered list created using HTML. Logic says if you re closing all your nonempty elements in XHTML, you d do this:

  • Pens
  • Felt tip
  • Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost PHP Web Hosting services

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URI

Sorry, the comment form is closed at this time.

Powered by Java Web Hosting