W3C home > Mailing lists > Public > public-html@w3.org > May 2014

Re: should HTML have a <heading> element?

From: Deblyn Prado <deblyn@nic.br>
Date: Fri, 9 May 2014 11:12:44 -0300
Cc: Detlev Fischer <fischer@dias.de>, public-html@w3.org
Message-Id: <9E7D8869-549A-4D94-A9B3-4C266C4326B8@nic.br>
To: intelligentdesigner@timgallantcreative.com
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


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

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:09 UTC