this post was submitted on 07 Aug 2023
321 points (91.7% liked)
Programmer Humor
32455 readers
761 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
well with the css grid and flexbox it's no longer a problem.
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 centercenter
is mostly for centering text and is being deprecated in favor oftext-align
andmargin-*: auto
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/centerCenter tag is deprecated in HTML5