HTML and CSS Reference
In-Depth Information
These selectors work particularly well with lists, tables, or any other HTML structure
that has repeating rows of information. They allow styles to the applied following a re-
peating pattern, which can be used to zebra stripe a list of items for instance. To begin
with, they can be given one of two keywords: even or odd , which apply a style to even
or odd counted elements within a particular parent element. For example, the following
is a basic HTML list:
<ul>
<li>Row 1</li>
<li>Row 2</li>
Search WWH ::




Custom Search