<center> tag Prev Next Note/Warning/Danger/Info This <center> tag is deprecated in HTML4 and obsolete in HTML5 × HTML <center> tag It is better to use CSS text align because the <center> tag is not supported in HTML5.The <center> tag helps to align the text towards the center of the line.You can also refer CSS Text to apply other text affects along with alignment. The Syntax of Linear Gradient:<center>text here…</center> Example <center>Text goes to center</center> Run the Code Default CSS value NONE How Browser will display BLOCK Level. Difference between HTML4.01, XHTML and HTML5 HTML4 XHTML HTML5 Deprecated Deprecated in XHTML1 obsolete Attributes used with <center>tag NONE Supporting Browsers Related Tags There are no tags which are directly related to this tag.Use CSS Text or CSS text-align property. Prev Next Facebook Twitter Google-plus