←back to thread

197 points OuterVale | 1 comments | | HN request time: 0.414s | source
Show context
Devasta ◴[] No.46228922[source]
For me, the mistake is having style attributes in html.

You should be able to write

<div color="red" font-weight="bold"/>

Instead of

<div style="color: red; font-weight: bold;"/>

replies(2): >>46229192 #>>46229999 #
silverwind ◴[] No.46229192[source]
These namespaces do not merge cleanly, for example `content`.
replies(1): >>46229955 #
Devasta ◴[] No.46229955[source]
Oh for sure, its way way too late to do it, but I don't think much of any of the modern web stack would be kept if we designed in the 90s with what we know now.
replies(1): >>46233189 #
1. dbbk ◴[] No.46233189[source]
This literally exists. You can use the <font> tag if you really want.