On 31/01/2006, at 8:39 PM, Paul Collins wrote:
Just wondering if there is such a thing as a header tag for a HTML list, <ul> or <ol>, such as the TH tag or the Summary tag for a table?
No, sadly. The only way to 'associate' a header with some following content is to wrap the set in a div, or similar:
<div id="thisweek"> <h2>The following are the days of the week:</h2> <ol> <li>Monday</li> <li>Tuesday</li> <li>Wednesday</li> ... </ol> </div> Wouldn't <h2 for="mylist"></h2> <ol id="mylist"></ol> be nice? :) Who's got the ear of the W3C? ;) Lea -- Lea de Groot Brisbane, Australia ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************