Html Center tag

In the html <center> tag is used to center align text or sentence. we will use to shorthand to align="center" for <table> tag.if you need to center the sentence or paragraph to put sentence between opening <center> tag and closing <s/center> tag. Which tag is not support in html5.


<center> --- </center>

Example Code

<center>Wel Come ! </center>

Out Put:

Wel Come !

In the above example <center> tag has been added to ' Wel Come ' text.