New course! Every coder should learn Generative AI!
Try a free lesson+ 4
How can i use div tag in center using html and css
4 Answers
+ 5
For horizontally centering only, you can alternatively use align attribute of the div tag e.g. <div align="center">Hello, World!</div>.
+ 3
.
+ 3
thanks everyone for help