W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2015

Re: [whatwg] Site-Wide Heading Element

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Wed, 24 Jun 2015 16:18:29 -0700
Message-ID: <CABZUbM1w1FLmnCuBp3ACBM28_AO4rrfoEHF2cW1tNUPf3jNYMA@mail.gmail.com>
To: Barry Smith <bearzteez@live.com>
Cc: whatwg@whatwg.org, Jonathan Zuckerman <j.zuckerman@gmail.com>, Mark Simon <mark@manngo.net>
On 6/24/15, Barry Smith <bearzteez@live.com> wrote:
>>>> On Jun 23, 2015, at 22:57, Mark Simon <mark@manngo.net> wrote:

Hi Barry —

>
> When I build a website that is to have more than one page, and I want the
> "banner" to be the same across all pages,  I use the <header> element with
> a
> javascript file embedded inside, like this:
>
> <header id="banner">
>     <script src="scripts/header.js" type="text/javascript"></script>
> </header>
>


Your first priority should be to fix that to ensure that your pages
are usable when scripts are turned off or not supported. See WCAG.
-- 
Garrett
@xkit
ChordCycles.wordpress.com
garretts.github.io
personx.tumblr.com
Received on Wednesday, 24 June 2015 23:19:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:33 UTC