Re: should HTML have a <heading> element?

But use the same <heading> element in all document will force the user to insert a lot of <sections> where’s not really necessary.

And use both versions <h1>, <h2> and <heading> in the same HTML file is more complicated to understand.
The attribute will permite define the level of heading without use a <section> element.

The objective is not let the document without semantic, only give other way to make the right things.

Anyway I thing it’s a good think get a another option to define header level without sections.

I like the syntax

<section>
<heading>
</section>

But depending of document it’s not very easy to understand the levels.

--
Deblyn Prado | Desenvolvedor Web
Phone: +55 (11) 5509-3537
Ramal: 4034
E-mail: deblyn@nic.br

On May 9, 2014, at 10:52, <intelligentdesigner@timgallantcreative.com> <intelligentdesigner@timgallantcreative.com> wrote:

> 
> || Other thing: Why not use just one tag for all headers levels and set the semantic importance by attribute like this
> 
> || <heading semantic=“2”>This title is the semantically equal of H2 Element</heading>
> 
> Well, for one thing, no, because HTML is already supposed to be a semantic language, and its tags are supposed to be inherently semantic. That's why we have h1, h2 etc to begin with. Needing to use some sort of attribute specification would be a step backward, not forward.
> 
> Tim Gallant
> http://timgallantcreative.com 
> 

Received on Friday, 9 May 2014 14:13:12 UTC