0
How to put text in the middle of your screen?
5 Answers
+ 3
Specify the language or tag it. I assume you're using HTML and CSS, so the below is one way to do it. The answer to this question can be found by just doing an internet search. All the best =)
https://code.sololearn.com/W1bSSROYt1jW/?ref=app
+ 2
body {
display:flex;
align-items:center;
justify-content:center;
}
or
https://code.sololearn.com/W7NbAJX0eFV4/?ref=app
https://code.sololearn.com/W4uOc9EWMbAi/?ref=app
+ 1
This can help you
https://stackoverflow.com/questions/19461521/how-to-center-an-element-horizontally-and-vertically#:~:text=For%20vertical%20alignment%2C%20set%20the,any%20other%20inline%20children%20elements.
+ 1
In html we can apply center tag
In programming languages we can apply escape sequence characters
\t
\b
0
Yes, I know how to do that, but how can you make the text go in the middle middle not top middle