New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How to align in css
I can’t get a header to align in the center in css. How do I fix this?
1 Answer
+ 3
HTML::
<h2>SoloLearn</h2>
CSS::
h2 {
text-align:center;
}
I can’t get a header to align in the center in css. How do I fix this?