Re: [whatwg] Site-Wide Heading Element

On 6/29/15, Barry Smith <bearzteez@live.com> wrote:
> From: "Garrett Smith" <dhtmlkitchen@gmail.com>
>  Hey Garrett,
>
> My apologizes for not replying until now.  When I posted my reply to the
> "Site-Wide Heading Element" thread,  you were right and I should have posted
>
> a more complete example.  Here is what I should have given as an example:
>
> <header id="banner">
>     <script src="scripts/header.js" type="text/javascript"></script>
>     <noscript>
>         <div class="styledText">
>             <div class="letterM">M</div>
>             <div class="word">y</div>
>          </div>
>          <div class="styledText">
>              <div class="letterW">W</div>
>               <div class="word">eb</div>
>          </div>
>          <div class="styledText">
>              <div class="letterS">S</div>
>               <div class="word">ite</div>
>           </div>
>     </noscript>
> </header>
>
> Using the <div> element for purely stylistic purposes.  Placing them within
>
> the <noscript> element displays the exact same header as is in the embedded
>
> <script> element, but without the additional animation used in the
> javascript file.
>

I would use an H1 with text-transform: capitalize and avoid using divs
and javascript.

Should there be a new site-header element?
-- 
Garrett
@xkit
ChordCycles.wordpress.com
garretts.github.io
personx.tumblr.com

Received on Tuesday, 30 June 2015 01:18:33 UTC