Transforma mayuscula en minusculas
<div>
P
{text-transform: capitalize}
o
<div style="text-transform: capitalize;">
Pone la primera letra de
una palabra en mayuscula
<div>
Todo que vaya entre llaves tiene
que ir en la cabecera de una pagina.
<HEAD>
<STYLE>
#selector {text-transform: lowercase}
</STYLE>
</HEAD>
Tex-decoration:
Subraya texto
text-decoration: none;
Quita el subrayado de los enlaces.
text-decoration: overline;
Subrayado por arriba
text-decoration: underline;
Subrayado por abajo
text-decoration: line-through;
Subrayado de un texto
Codigo:
<style>
h1.over {text-decoration: overline;}
h1.under {text-decoration: underline;}
h1.strike {text-decoration: line-through;}
</style>
Se activan con:
<h1 class=over>Esta es overline.</h1>
<h1 class=under>Esta es underline.</h1>
<h1 class=strike>Esta es line-through</h1>
Resultado:
Esta es overline
Esta es underline
Esta es line-through
Se puede simplificar asi:
<STYLE>
H1 {
TEXT-DECORATION:
overline underline line-through;
}
</STYLE>
<h1> ESTE ES EL TEXTO </h1>
ESTE ES EL TEXTO
En lugar de <STYLE>
se puede usar:
<H1 style="text-decoration:
overline underline line-through">
ESTE ES EL TEXTO
</H1>
Las etiquetas de subrayado
Para subrayar un texto se
pueden utilizar las etiquetas:
S
DEL
STRIKE
Ejemplos:
<S>S S S S S S S S</S>
S S S S S S S S
<DEL>DEL DEL DEL</DEL>
DEL DEL DEL
<STRIKE>STRIKE STRIKE</STRIKE>
STRIKE STRIKE