HTML vs XHTML: Excuse me! Questione Webie?

mandysaini

Nuovo Utente
15 Dic 2009
2
0
0
Che cos'è il codice XHTML per i seguenti decaprecated codici HTML.

<center> deprecate. Definisce testo centrato
<font> deprecate. Definisce il font del testo, dimensione e colore
<u> deprecate. Definisce testo sottolineato

Voglio che il codice XHTML di utilizzare font, sottolineatura, e l'allineamento centro.

La ringrazio se si aiutano.
----------------------
Recycling Waste Equipment
Waste Plastic Recycling
Waste Paper
 

alessandro1997

Utente Attivo
6 Ott 2009
5.302
1
0
26
Roma
alessandro1997.netsons.org
I think you used an online translator. Your Italian is terrible :p
You can use these substitutes for the tags you want to use:
<p style="text-align: center;"></p> places the text at the page's center
<p style="font-family:Arial, Verdana; font-size:10px;; color:red;"></p> changes text's dimension, font and colour. Replace the bold parts.
<p style="text-decoration:underline;"></p> underlined text.

And now write 100 times:
I won't use online translators next time... :D

Bye.
 

AdamRock

Nuovo Utente
15 Dic 2009
3
0
0
Per centrare il testo:
<div style="text-align: center;"> STUFF </ div>
Al centro un gruppo di elementi:
<div style="margin-left: auto; margin-right: auto;"> STUFF </ div>

Per modificare famiglia di font, dimensione e colore:
style="font-family: FAMILIES; font-size: SIZE; color: COLOR;"> <span STUFF </ span>

Per sottolineare il carattere:
style="text-decoration: <span underline;"> STUFF </ span>

La ragione per un sacco di roba che viene rimosso in XHTML è perché è più rigorosa XHTML e HTML è solo supposta per descrivere il layout di un documento, non il suo "stile". CSS è stato creato per definire come stanno le cose in stile, l'attributo "style" in questi tag XHTML assegna le proprietà di stile CSS in esso il contenuto all'interno dei tag. Anche se, di solito è meglio dare solo il tag di una classe o carta d'identità e quindi definire tale classe o id nella testa del documento con i CSS.

Potreste trovare utile:
http : // www . w3schools . com / Css / default . asp

---------------------------
Social Network | BigStub Tickets | Fiction Books Services
 
Discussioni simili
Autore Titolo Forum Risposte Data
D HTML, XHTML e CSS HTML e CSS 0
V Menu HTML come sarebbe in XHTML? HTML e CSS 10
V BOX fatto con tabella HTML da trasformare in XHTML HTML e CSS 6
G Pagina html in stringa PHP 2
E Sostituzione Elemento Html PHP 3
G Elementi HTML HTML e CSS 1
K Visualizzare del html responsive in una Webview Sviluppo app per Android 0
T Domanda valutazione html LinkedIn 2022 pt3 HTML e CSS 7
T Domanda valutazione html LinkedIn 2023 pt2 HTML e CSS 15
T Domanda valutazione html LinkedIn 2023 pt1 HTML e CSS 1
MarcoGrazia Salvataggio HTML in database PHP 2
K posizionare variabile da pagina html all'iframe. Javascript 1
peppe0703 Come Estrarre dati da db wordpress e richiamarli in html esterno HTML e CSS 0
L problema collegamento file css con html HTML e CSS 1
D Informazioni da XAMPP su HTML PHP 0
R Immagini html HTML e CSS 2
K File audio in html, chi mi può aiutare? HTML e CSS 0
K Aiuto con file audio in html HTML e CSS 1
Antonio67 Lanciare file shell bash da html HTML e CSS 2
M Riportare in tabella HTML dati estratti con query SQL MySQL 0
G Codice html Javascript 1
M Collegamento tra form html e script php PHP 4
L Ricezione dei dati su file php da modulo html PHP 6
F Creare elementi html con javascript Javascript 3
G Appicazione HTML per inserimento dai in Database Access Microsoft HTML e CSS 0
W visualizzare solo file html e sottocartelle di una cartella PHP 1
C Dopo chiusura del tag php la stringa html va a capo PHP 1
G img html HTML e CSS 3
M Come fare un countdown in HTML? HTML e CSS 4
D Stampa a video in altra pagina html Database 3
A inserire variabile php colore in div html PHP 2
F Tv in html Offerte e Richieste di Lavoro e/o Collaborazione 1
N Script elenco file HTML HTML e CSS 5
L salvare codice html in mysql PHP 3
Cosina htaccess redirect 301 senza estensione html Web Server 6
E Errore di lettura php in html PHP 8
M HTML e PHP Offerte e Richieste di Lavoro e/o Collaborazione 3
C Form email php su pagina index.html? PHP 21
Shyson Meglio Javascript o HTML? Javascript 4
P inserimento icone social tramite html HTML e CSS 1
Z Mod_rewrite da HTML in PHP PHP 3
L Collegare un form html ad un database access Javascript 2
P HTML integrazione wordpress HTML e CSS 0
C [RISOLTO]Inserimento variabile php in input html PHP 20
L Eliminare estensione .html HTML e CSS 9
max1974 html in tooltip Javascript 0
C Risalire al php da html PHP 27
felino Esportare tabella HTML in PDF, quale libreria usare? Javascript 1
webmachine [PHP] [JAVASCRIPT] Form strano in HTML PHP PHP 1
L [RISOLTO] Stampa a video risultato count in html PHP 13

Discussioni simili