Guida al linguaggio HTML

4.5 L'elemento BLOCKQUOTE


L'elemento BLOCKQUOTE definisce un blocco di testo come citazione. Il browser lo visualizzera' in modo appropriato, ad esempio spostando a destra il rientro del testo, o facendolo vedere in corsivo. BLOCKQUOTE causa anche un line break, cioe' obbliga il browser a inserire una linea vuota prima e dopo di esso.

BLOCKQUOTE puo' contenere paragrafi, e la maggior parte delle istruzioni piu' comuni.

4.5.1 Esempio di BLOCKQUOTE

Ad esempio, il testo seguente:


I think it ends
<BLOCKQUOTE><P>Soft you now, the fair Ophelia. Nymph, in
thy orisons, be all my sins remembered.  Fair twilight,
and foxy swarms of ants, did slyly open the jars of jam.
</BLOCKQUOTE>
but I might be wrong.


Viene visualizzato cosi:

I think it ends

Soft you now, the fair Ophelia. Nymph, in thy orisons, be all my sins remembered. Fair twilight, and foxy swarms of ants, did slyly open the jars of jam.

but I might be wrong.


dot1.gif (103 byte) 4.5.1 Attributi

L'elemento BLOCKQUOTE supporta l'attributo ALIGN per definire l'allineamento del testo al suo interno. I valori inseribili sono: ALIGN="center" (testo centrato), ALIGN="left" (testo allineato a sinistra -- valore di default), ALIGN="right" (testo allineato a destra), and ALIGN="justify" (testo giustificato ai margini). Questo valore e' supportato solo dai browser piu' recenti.

Indice   HomePage