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

Programmer Humor

32716 readers
310 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
[–] ICastFist 5 points 1 year ago* (last edited 1 year ago) (2 children)

It actually has for centering things horizontally. Yes, it's literally <center> content </center>. It's been around since the early 90s, too. Dunno about a vertical center

[–] [email protected] 3 points 1 year ago

Center tag is deprecated in HTML5

[–] [email protected] 3 points 1 year ago

center is mostly for centering text and is being deprecated in favor of text-align and margin-*: auto https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center