alternative to center tag in htnl code example
Example: the center tag actually works
The <center> element was deprecated because it defines the presentation of its contents — it does not describe its contents. One method of centering is to set the margin-left and margin-right properties of the element to auto , and then set the parent element's text-align property to center . GuruTheCoder (search it on yt)