It actually has <center> 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</center>
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.
deleted by creator
It actually has <center> 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</center>Center tag is deprecated in HTML5
well with the css grid and flexbox it’s no longer a problem.
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.