CENTERING CONTENT
Centering Content You can use <center> tag to put any content in the center of the page or any table cell. Example <!DOCTYPE html> <html> <head> <title>Centring Content Example</title> </head> <body> <p>This text is not in the center.</p> <center> <p>This text is in the center.</p> </center> </body> </html> This will produce following result: This text is not in the center. This text is in the center.
