r/HTML • u/CuriousResearcherX • Sep 29 '26
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
View all comments
1
u/azangru Sep 29 '26
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 :-)