Thread with 6 posts
jump to expanded postomg, how did i not know about <var>, the HTML element for “variables” in the mathematical sense. so if you're ever want to express “(n - 1)”, you can write (<var>n</var> - 1)
@hikari this sounds like a shitpost but somehow I know it isn’t
@demize yeah it's a real element, and I'm not misleading you about its purpose either
@hikari I know! I looked it up to double check only because it felt so much like a shitpost I was questioning my own knowledge
@demize I was trying to find an element earlier this week for exactly this purpose and somehow didn't find this then… how is it so obscure
@hikari I think it’s part of HTML5? or otherwise a fairly recent addition
There’s a few elements like that, that by default do nothing, but allow you to easily style them (and are great for screen readers)