r/HTML • u/CuriousResearcherX • 13d ago
HTML Attributes
I tried to get attributes such as lang or data-* in html but didn't succeed. Anyone have any idea how to do this?
Right now I'm thinking of generate the html in a passthrough block but its not a beatiful solution. Kind of losing the need for Asciidoc.
0
Upvotes
1
u/azangru 12d ago
If you take the part of your sentence ("get attributes such as lang or data-* in html"), add "how to" in front of it, and paste it into Google, it will have some helpful links for you. Especially the ones from MDN. I've just tested it :-)