Re:The right tag for the job: why you should use semantic HTML
by makeupsomething on Sunday June 06, 2021 @08:44PM
(#27417788)
I don't need to be convinced of the benefits of semantic HTML anymore. It's been made clear in numerous similar articles. What I would like to see are examples that are not trivial news/blog type apps.
[ Parent
| on HN ]
Re:The right tag for the job: why you should use semantic HTML
by blacktriangle on Monday June 07, 2021 @11:12AM
(#27423519)
The problem is that the semantics of HTML are the semantics of trivial news/blogs. Didn't they say that when HTML5 came out that many of the tag names and concepts were distilled by looking at the frequency of class names used across the internet, and isn't most of the open, indexable internet blogs and forums.
The semantics of the web and the semantics of an application are almost completely different, so those of us trying to ship actual applications over the web are torn between trying to find the closest possible HTML element and customizing it, resulting in non-standard behavior, or just rolling our own div with our own needs.
Re:The right tag for the job: why you should use semantic HTML
by burntcaramel on Monday June 07, 2021 @01:28AM
(#27419284)
What sort of apps do you think are difficult to get right, and would make good examples?
Re:The right tag for the job: why you should use semantic HTML
by makeupsomething on Monday June 07, 2021 @02:38AM
(#27419687)
I think something like a google maps type app where the results in the sidebar can be a fairly complex set of items would be great to see. Or a typical SaaS app dashboard with cards, a sidebar, charts etc.