Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Where possible, default to defining style and behaviour with inline HTML attributes

Wow, have we just come full circle after 25 years?



I literally--literally, not figuratively--facepalmed when I read this.


This comment or that part in the link?


The advice to put inline styles in your HTML.


And it isn't even done in the example.

>class="bg-green"


Thankfully he got the `onlick` attribute right.


These tailwinders are everywhere these days.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: