this post was submitted on 07 Aug 2023
467 points (91.9% liked)

Programmer Humor

33322 readers
808 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 2 years ago* (last edited 2 years ago)

Why doesn’t html just have hcenter and vcenter tags or something?

HTML is a markup language, its purpose is to structure documents, while CSS can be seen as an additional layer that allows you to style and alter the layout of HTML documents. Because of this philosophy, it wouldn't make any sense to have such tags.