Center <CENTER> ... </CENTER>

Read this tip to make your life smarter, better, faster and wiser. LifeTips is the place to go when you need to know about Tags Defined and other Html topics.

How do I place a web page element centered?

Center <CENTER> ... </CENTER>


Definition:

Indicates that the enclosed text should be centered in the browser window.

Attributes:

None.

Suggested Usage:

Not used much anymore. Similar style sheet properties and the attribute have taken its place.

Example:

This table will appear in the center of the browser:

<CENTER>

<TABLE>

<TR><TD></TD></TR>

</TABLE>

</CENTER>


   

Comments

5/25/2015 5:24:51 AM
Alex said:

is there any other way to do this?




Name:


URL: (optional)


Comment:


Not finding the advice and tips you need on this Html Tip Site? Request a Tip Now!


Guru Spotlight
Sherril Steele-Carlin