According to W3 schools, to center align a
element, this is how you do it :
<div style="margin:auto; width:50%">
</div>
But they also said that this will only work if a !DOCTYPE is declared. How and where would I do that in my .html file for the page?