HTML center tag

By | March 15, 2020

Not Supported in HTML5

In this chapter, we will learn about Tag <center> of HTML. If we have to show any content in the web page in the center, then for this we use this tag of HTML. This element is a block level element that contains inline end block level content. The content placed in the middle of <center> tag is displayed in the middle of the page.

This tag has been created in HTML4 but is obsolete in HTML5.

center Syntax:-


Browser Support:-

All browsers support this tag of HTML.


<h1>HTML center tag Example</h1>

		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem,   inventore.</p>


for job
learn coding
for result in India
Make website make money
Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *