English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-05-25 07:08:05 · 7 answers · asked by Anonymous in Computers & Internet Programming & Design

7 answers

The "

" element is "deprecated". Instead, you should use CSS! If the thing you are trying to center is truly just text, then use
style="text-align: center;"
...such as...

This is my paragraph.


...or...







The text goes here

Uncentered text

2007-05-25 07:18:15 · answer #1 · answered by fjpoblam 7 · 0 0

Html Code Center Text

2016-11-12 02:17:12 · answer #2 · answered by ? 4 · 0 0

Code To Center Text

2016-12-29 10:30:59 · answer #3 · answered by ? 4 · 0 0

This Site Might Help You.

RE:
how do I center text in html code?

2015-08-18 15:16:52 · answer #4 · answered by Phebe 1 · 0 0

Simple,
you type



and you type the text that you want on the center of the page, in between.

2007-05-25 07:13:25 · answer #5 · answered by dominikpayne 2 · 1 1


Your text


or


Your text



or


Your text



or


Your text



More text, also centered



The last one will make all

tags center the text. The style="", and align="" can be placed on most other tags (like td, body, etc) to produce the same effect. The first one (

) should be avoided, but it does work.

2007-05-25 07:13:03 · answer #6 · answered by wfinn 2 · 2 0

text

2007-05-25 07:11:47 · answer #7 · answered by nelgin 5 · 1 1


This centers text on the page



This centers text on the page

2007-05-25 07:11:22 · answer #8 · answered by Tim 2 · 2 1

help

2007-05-25 07:11:40 · answer #9 · answered by Anonymous · 1 2

i think the code is your text here

2007-05-25 07:15:53 · answer #10 · answered by Anonymous · 0 1

fedest.com, questions and answers