←back to thread

197 points OuterVale | 5 comments | | HN request time: 0.931s | source
1. 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 #
2. silverwind ◴[] No.46229192[source]
These namespaces do not merge cleanly, for example `content`.
replies(1): >>46229955 #
3. 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 #
4. netsharc ◴[] No.46229999[source]
Guess who wasn't around when HTML3.2 was introduced...

How about to control the color of links, add the color attributes for links in body?

https://www.w3.org/TR/2018/SPSD-html32-20180315/#body

5. dbbk ◴[] No.46233189{3}[source]
This literally exists. You can use the <font> tag if you really want.