E-mail List Archives
Re: roles and headers
From: Steve Faulkner
Date: May 1, 2013 9:38AM
- Next message: Sandy: "Re: roles and headers"
- Previous message: Dave Merrill: "Re: roles and headers"
- Next message in Thread: Sandy: "Re: roles and headers"
- Previous message in Thread: Dave Merrill: "Re: roles and headers"
- View all messages in this Thread
Hi Sandy,
this may be helpful - advice on marking up headings and subheadings:
http://www.w3.org/html/wg/drafts/html/master/common-idioms.html#sub-head
--
Regards
SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
On 1 May 2013 16:15, Sandy < <EMAIL REMOVED> > wrote:
> hey all,
>
> I would like to know any best practices for using roles instead of
> headers. Here is an approach that makes sense to me, and I would like to
> know if it makes sense to the experts on this list.
>
> Thanks in advance.
>
> home page works like this:
>
> <div id="banner" role="banner">
> <h1>Name of the company</h1>
> <h2>company tag line</h2>
> </div>
>
> content page works like this:
>
> <div id="banner" role="banner">
> Name of the company
> company tag line
> </div>
>
> <h1>Page title</h1>
>
>
> Thanks for taking the time to look at this.
>
> Best regards, Sandy
> > > >
- Next message: Sandy: "Re: roles and headers"
- Previous message: Dave Merrill: "Re: roles and headers"
- Next message in Thread: Sandy: "Re: roles and headers"
- Previous message in Thread: Dave Merrill: "Re: roles and headers"
- View all messages in this Thread