Home arrow HTML arrow Styling Elements of Nested HTML Lists
HTML

Styling Elements of Nested HTML Lists


Welcome to the second part of a three-part series on designing with nested HTML lists. This series shows you how to nest HTML lists by using a hands-on approach, and demonstrates how to use them for building standards-compliant drop-down menus.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 1
May 22, 2009
TABLE OF CONTENTS:
  1. · Styling Elements of Nested HTML Lists
  2. · Review: building basic nested HTML lists
  3. · Polish the look of nested HTML lists with CSS styles
  4. · Building a hierarchical navigational system

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Styling Elements of Nested HTML Lists
(Page 1 of 4 )

Introduction

As you possibly know, HTML lists are a crucial piece of most web sites’ structural markup. They allow you to group bulleted data using a strict semantic meaning. But what happens if you need to extend the use of lists beyond the usual and construct, for instance, a hierarchical links bar for your next web site?

The answer is simply…nested lists. By including one list into another as many times as needed, it is possible to build non-linear navigational mechanisms using clean HTML, in addition to displaying information in the form of well-structured categories. Therefore, if you’re a web designer who’s interested in learning the core concepts that surround the creation of nested lists, then this set of comprehensive articles might be what you’re looking for.

However, before I start explaining how to build such a menu, first I need to quickly review the topics that I discussed in the last article. In that tutorial I coded a few examples that hopefully demonstrated how to build some basic nested HTML lists by using a standard approach.

Indeed, the structures of these sample nested lists were fairly skeletal, since no CSS styles were applied to the lists in question. Provided that you already grasped the logic that drives constructing the lists, the next step consists of improving the visual appearance of these web page elements.

Thus, it’s time to get rid of all the preliminaries and start learning how to polish the look of nested HTML lists using a few simple CSS styles. Let’s jump in!


blog comments powered by Disqus
HTML ARTICLES

- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5
- BBC Adopts HTML 5, Mozilla Addresses Issues
- Advanced Sticky Footers in HTML and CSS
- HTML and CSS Sticky Footers
- Strategy Analytics Predicts HTML5 Phones to ...
- HTML5 Guidelines for Web Developers
- Learning HTML5 Game Programming
- More Engaging CSS3 and HTML Background Effec...
- Engaging HTML and CSS3 Background Effects
- More Web Columns with CSS3 and HTML
- Columns with CSS3 and HTML
- Creating Inline-Block HTML Elements with CSS
- Drag and Drop in HTML5: Parsing Local Files

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials