News for hackers. Stuff that matters.
Re:Does CSS Grid Replace Flexbox? by keithjgrant on Thursday April 06, 2017 @03:46PM (#14053957)
HTML is not just about putting text on a screen. It is markup; the tags and attributes imply meaning about the contents they contain.

This makes it not only usable by a web browser, but parsable by software. That includes, but is certainly not limited to, screen readers, assistive technologies, and search engines.

Consider an example where I use JavaScript to make <i> tags behave like links. I can make it “work”, but by doing so, I am disregarding—and breaking—a primary function of the language.

There are no comments on this comment yet.