Lists are usually preceded by either a heading or a lead-in sentence. <h1>Characteristics of a well-formed list</h1> <ul> <li>List items have parallel forms.</li> <li>...</li> </ul>
<p>Well-formed lists have:</p> <ul> <li>parallel forms</li> <li>...</> <ul> Think about how the list will appear with style sheets off: if you make the title/heading the first item in the list, then you've turned what's semantically a list of n items into a list of n+1 items. It's semantically appropriate to mark up the heading with <h?> even though it may mess with your structure in the sense of grading headings nicely (h1, h2 etc). Perhaps not so much of a problem if you place your menu after your content and use style sheets to place it. Regards, Elizabeth Spiegel Web editing 0409 986 158 GPO Box 729, Hobart TAS 7001 www.spiegelweb.com.au -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dan Freeman Sent: Saturday, 3 March 2012 6:12 AM To: [email protected] Subject: RE: [WSG] list heading - best practice? I wouldn't recommend that. It may look OK stylistically, but not semantically. I believe H? before the list makes the most sense. - Dan Freeman -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of coder Sent: Friday, March 02, 2012 1:23 PM To: [email protected] Subject: Re: [WSG] list heading - best practice? <ul > <li class="title"> <strong>Quick links</strong> </li> <li> <a href="noticeboard.html" title="news and Notices"> Noticeboard </a> </li> <li> <a href="site/sitemap.html" title="A list of site contents, with links"> Sitemap </a> </li> <li> <a href="site/sitepolicy.html"> Site policy </a> </li> <li> <a href="site/links.html" title="further information"> Useful links </a> </li> </ul>?? Works for me!Bob----- Original Message ----- From: "David Dorward" <[email protected]> To: <[email protected]> Sent: Friday, March 02, 2012 5:28 PM Subject: Re: [WSG] list heading - best practice? On 2 Mar 2012, at 17:07, Hanspeter Kadel wrote: > looks like back in 1984 people could use <LH> for the job. No, they couldn't. It was proposed for HTML 3, but that spec was ditched in favour of documenting the then current state of the browser wars. > how to do it in 2012? <h?> before the list. -- David Dorward http://dorward.me.uk ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [email protected] ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [email protected] ******************************************************************* LEXI-COMP CONFIDENTIALITY NOTICE The information in this electronic mail is intended for the named recipients only. Any use of this information by anyone other than the intended receiver is prohibited. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this electronic e-mail or by calling 330-650-6506. Please delete it from your computer. Thank you. ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [email protected] ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [email protected] *******************************************************************
