TRENDING TOPICS

×

<center> tag in HTML

The <center> tag is used to center-align text. The <center> tag is not supported in HTML5. Use CSS instead.

Important Description

  • The <center> tag use is discouraged since it could be removed at any time, then try to avoid using it.
  • When applying text-align:center to a <div> or <p> element centers.

Example of <center> Tag

Result Look Like

This text will be center-aligned.

This line will be centered.

<center> Tag Browser Support

Element Chrome Edge Firefox Safari Opera
<center> Yes Yes Yes Yes Yes

Advertise With Us

We offer sponsored posts and guest posts with do-follow links, back-links, and other advertising services, To advertise email us at "advertise@gdatamart.com"

© 2021 GDATAMART.COM (All Rights Reserved)