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
2
u/armahillo Expert Sep 29 '26
I know you can see your screen and what youve tried already, but we can’t.
1
u/deceze Sep 29 '26
How to do what exactly? Just “get HTML attributes” is a less than helpful description of what you’re trying to do.
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 :-)
-1
u/[deleted] Sep 29 '26
[removed] — view removed comment