Center Tag in HTML | HTML Tags | Use of Center Tag

HTML CENTER (<center>) Tag


The <center> tag is a block-level element consists of both block-level as well as inline content inside it.

The center tag is used to center-align contents such as text, graphic elements, tables, etc. The content written between the <center> tag will be displayed at the central of the page.

You can also use CSS property i.e. text-align: center; to center-align content.

The <center> tag is not supported in HTML5.


where, contents are written between the start and end tag.


   <title> The Center Tag </title>
   <h2> Example of Center Tag </h2>
   <center> This content is displayed in the middle of page,
   but You can use CSS property to align the content. </center>
   <p><b>Notes:</b> The center tag is not supported in HTML5. </p>


Best WordPress Hosting


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price

Leave a Reply

    Waiting for your comments