+ 1
How can u make img to the center of page??
can someone write me the code how to put img to the center of page? do i have to type align="center"to it if it does where should i type inside the tag or outside?? example would be awesome cuz am very newbie with this stuff
6 Answers
+ 2
center tag is obsoleted in HTML5, might not run in newer browsers. Use Css instead:
img {
display: block;
margin: 0 auto;
}
https://code.sololearn.com/WErtPVQv02VD/?ref=app
0
thank you so much :D
0
so <center> doesnt work anymore??? on newer browser??