you are viewing a single comment's thread.

view the rest of the comments →

[–]Gaydolf_Titler 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (5 children)

It's unfortunate that the image Senthil used is not one of programming, but of markup language.

[–]fschmidt 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (4 children)

HTML is part of programming, and this image is enough to illustrate revolting modern code. The "nav" tag is useless modern crap. And all those '<a href="#"...' is meaningless modern code, God only knows what those links do.

[–]AXXA 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (2 children)

The "nav" tag is useless modern crap.

Screen readers use the "nav" tag to determine how to render navigation links.

https://www.w3schools.com/tags/tag_nav.asp

[–]fschmidt 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (1 child)

This doesn't make sense. Should the links in a menu page like this be in a "nav"? If yes, how should it be rendered?

[–]AXXA 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (0 children)

Yes. They shouldn't be rendered until the user is ready to navigate. This allows the user to differentiate between content and navigation. It also allows the user to easily find the navigation links.

[–]Gaydolf_Titler 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (0 children)

HTML is not a programming language, no matter how you slice it. Web development is not application programming, as you cannot program a static page to do nothing.