Sunday, June 22, 2014

HTML - Lists

Who doesn’t appreciate a good list? Most of us keep lists everywhere, including on web pages. When structuring your web pages, use one of three different types of elements shown below to contain lists.


In ordered and unordered lists, the individual items in the list are contained in between opening and closing li tags (short for list item). With definition lists, the term itself is bracketed between dt tags, whereas the term’s definition is contained in between dd tags (short for definition data).

Remember, at this stage in the game, we are merely structuring content. We will later style and position it with CSS.
Post a Comment