Jukka K. Korpela wrote:
> 2013-04-12 14:47, Thomas 'PointedEars' Lahn wrote:
>> a “div” element and “span” elements should not have been used here
>> in the first place, but an “nav” elemen
There was a lot more. You have deliberately distorted the meaning of my
statement by omitting relevant parts, in order to support your fallacious
argument. Not the first time, if I recall correctly.
> […] There is no demonstrable benefit to be gained from using <nav>.
None that *you* are *aware of*.
> Many people promote it for quasi-religious reasons, with
> “semantic” as the mantra, failing to understand the semantics, i.e. the
> meaning, of “semantic”.
Of course, it has always been easier to dismiss ideas as nonsense – by
calling them (quasi-)religion, by calling their creators and followers
names; by crucifying them, burning them, forcing them to recant, hanging
them, chopping their heads off, locking them up for life, or deliberately
misquoting them (more or less in that order) – than to provide a single
*sound* argument against the idea or to provide viable alternatives.
However, this is not how progress is achieved, and it is obviously
contradicting core human nature; for if bullying naysayers would have
prevailed, humans would still be quadrupeds living in trees. But I digress.
I have done research on Semantic Web Technologies while studying computer
science, so I would like to think that I know what I am talking about when I
say “semantic”, and that I can be fairly rational about it.
Semantics is the study of meaning(s). [1] Particularly with regard to
computer science, it is not (quasi-)religion at all, of course; it is a
cornerstone of an informed approach to achieve a primary goal of computer
science, or “informatics” as it is also called: to *organize information* so
that it becomes *useful* even in *previously unforeseen* ways.
A primary goal of the W3C, led by its Director Tim Berners-Lee (who invented
HTML for that reason [2]), is to achieve a “Semantic Web”; a Web consisting
of *meaningful* information. [3] While this approach relates mostly to
languages other than HTML (ibid.), it needs not to exclude HTML. In fact,
RDFa [4], and the addition of semantic elements (that is, elements *only*
conveying semantics) in HTML5 (to those that already existed in previous
versions) [5a, 5b] shows that it works well with HTML, too.
> But they usually realize that they need to warn that especially for the
> purposes of styling, <nav> really makes things more difficult. Try styling
> it on old versions of IE
Your logic is flawed because its premise is based on a fundamental
misconception. The “nav” element, and other such HTML5 elements, ought not
to be styled *at all*. They are not intended to be used as a layout
container, but as a *content* container. They are there *solely* to convey
semantics, that is, *meaning(s)*. In the case of the “nav” element, the
meaning is “this content here *is* *for* navigation.” [6, 7]
It is left to the user agent how to interpret that. [6] Current user agents
*might* not interpret it at all – which would beg the question why it was
added to HTML5/WHATWG HTML in the first place, with HTML5/WHATWG HTML being
primarily *vendor*-driven, so there should be practical applications
already –, but future ones certainly could. Certainly, if the “nav” element
was used today *properly* (and there are people who do that), it is already
possible *today* to tell sections for navigation and sections not for
navigation apart *without* rendering the document. This possibility to
attach *meaning* to *textual content* is the benefit of semantic markup.
> (where styling of> <div> is smooth sailing), and you’ll see. Trolls, on
> the other hand, don’t write warnings, except fake warnings.
Ex falso quodlibet. The interesting thing about your postings, though, is
that you are quick to call names and slow to provide any references to
support your statements. As if you considered yourself infallible – by
which, curiously, but not surprisingly, we have come full circle.
X-Post & F'up2 comp.infosystems.www.authoring.html (where it belongs)
PointedEars
___________
[1] <
http://www.merriam-webster.com/dictionary/semantics>
[2] <
http://www.w3.org/History/1989/proposal.html>
[3] <
http://www.w3.org/standards/semanticweb/>
[4] <
http://www.w3.org/TR/xhtml-rdfa-primer/>
[5a] <
http://www.w3.org/TR/2012/CR-html5-20121217/dom.html#semantics-0>
[5b] <
http://www.w3.org/html/logo/#the-technology>
[6] <
http://www.w3.org/TR/2012/CR-html5-20121217/sections.html#the-nav-
element>
[7] <
http://html5doctor.com/downloads/h5d-sectioning-flowchart.png>
--
When all you know is jQuery, every problem looks $(olvable).