Computerhelp4all logo Articles AboutTopicsQuizzesComputer Questions & AnswersComputer Terms & DefinitionsActivitiesContact

What Is The HTML <center> Tag?

What Is The HTML Center Tag

Date First Published: 30th September 2023

Topic: Web Design & Development

Subtopic: Web Development

Article Type: Computer Terms & Definitions

Difficulty: Medium

Difficulty Level: 5/10

Learn more about what the HTML <center> tag is in this article.

In HTML, the <center> tag was used to horizontally align text in the centre of the webpage. It is deprecated and not supported in HTML5. Although it may still work in modern web browsers, support could be dropped and its usage is discouraged. Instead, CSS properties should be used to align text to the centre.

Example Of The <center> Tag

Below is an example of the <center> tag.

<center>Text in centre</center>
Text in centre


Feedback

  • Is there anything that you disagree with on this page?
  • Are there any spelling, grammatical, or punctuation errors on this page?
  • Are there any broken links or design errors on this page?

If so, it is important that you tell me as soon as possible on this page.


Comments