Center Tag

 Eduaction Management 959 Lahore

Code With Jahangir 

Center Tag

FREE COURSES 

FREE CERTIFICATE 

Center Tag

To put content in the center use <center> tag on your HTML page.

 

 

<center> tag:   “used to put content in the center on an HTML page”

Syntax: 

<center>
//content
</center>

The <center> tag is used to put your content in the center of your HTML page. You can use this tag in your table also. Sometimes we need our text to be in the center for that this <center> tag is used. This tag has both an opening and a closing tag. It is not an empty tag.

 

Refer to the video to understand clearly:

 

 NOTE:  According to HTML5, this tag has been deprecated and is now obsolete. We'll learn more about deprecated tags in the upcoming tutorial. 

Eduaction Management 959 Lahore

Code With Jahangir 

Center Tag

FREE COURSES 

FREE CERTIFICATE 

Previous Post Next Post

Contact Form