Search This Blog

Thursday, November 15, 2018

HTML5 tips: center


The <center> tag is not supported in HTML5. Use CSS instead.

So

<center><a href="http://i88.ca/">i88.ca</a></center>

Should be changed to:

<div style="text-align: center;">

<a href="http://i88.ca/">i88.ca</a></div>

</center>