In this topic, we described about the <center> tag along with detailed example.
The <center> tag is not supported in HTML5. Used to align the text to center. The <center> tag is used to align the text to center.
<center>.. text here.. </center>
<!DOCTYPE html> <html> <head> <title> Center element example.. </title> </head> <body> <center>This text is aligned to center</center> </body> </html>