by err4nt · 2y ago · 0 comments
Note: Because CSS gives considerable power to the "class" attribute, authors could conceivably design their own "document language" based on elements with almost no associated presentation (such as div and span in HTML) and assigning style information through the "class" attribute. Authors should avoid this practice since the structural elements of a document language often have recognized and accepted meanings and author-defined classes may not.
https://www.w3.org/TR/selectors-4/#example-f9c08b5bNo comments yet.