DEV Community

Discussion on: JavaScript Should Be Your Last Resort

Collapse
 
bvandenbon profile image
Bram Vandenbon • Edited

You can set font and font-size, alignment and borders in HTML, and it's a really bad idea. (not to mention poorly supported ones like blink) So, "don't use CSS for what you can do in HTML" is a really incomplete statement.
HTML should be about structure, CSS about styling. Don't try to style with HTML.