Home

SpeakComputers.com | Text-to-Speech Software

Natural sounding TTS voice support | Cepstral TTS voices | Text to MP3 | Natural Readers

Text to Speech Software Text to Speech Voices SpeakComputer Text to Speech Software

El elemento <font>

El elemento <font> se usa para especificar el tamaño y color del texto que va a ser renderizado. El elemento requiere un comando de apertura y uno de cierre. El elemento es un elemento inline. El contenido del elemento es renderizado. Ejemplo:


<
html>
<
head>
<
title>El Elemento font</title>
</
head>
<
body>
<!
—Declarar el elemento font -->
<
font color="#3300ff" size="1">Tamaño de Letra</font><br />
<
font color="#3300ff" size="2">Tamaño de Letra</font><br />
<
font color="#3300ff" size="3">Tamaño de Letra</font><br />
<
font color="#3300ff" size="4">Tamaño de Letra</font><br />
<
font color="#3300ff" size="5">Tamaño de Letra</font><br />
<
font color="#3300ff" size="6">Tamaño de Letra</font><br />
</
body>

El elemento
<font> soporta el atributo estilo. Ejemplo:

<
html>
<
head>
<
title>El Elemento font</title>
</
head>
<
body>
<!-- Declarar el elemento font -->

<
font style="font-size: 8pt; color: #3300ff; font-family: Arial, Tahoma;">Tamaño de Letra</font><br />
<
font style="font-size: 10pt; color: #3300ff; font-family: Arial, Tahoma;">Tamaño de Letra</font><br />
<
font style="font-size: 12pt; color: #3300ff; font-family: Arial, Tahoma;">Tamaño de Letra</font><br />
<
font style="font-size: 14pt; color: #3300ff; font-family: Arial, Tahoma;">Tamaño de Letra</font><br />
<
font style="font-size: 16pt; color: #3300ff; font-family: Arial, Tahoma;">Tamaño de Letra</font><br />
<
font style="font-size: 18pt; color: #3300ff; font-family: Arial, Tahoma;">Tamaño de Letra</font><br />
</
body>
</
html>

o


<
html>
<
head>
<
title>El Elemento font</title>
<
style>
.FontStyle

{

color
: #3300ff;
font-family
: Arial, Tahoma;
}

</
style>
</
head>
<
body>
<!
—Declarar el elemento font, asignar el nombre de la clase de estilo al elemento font -->
<
font class="FontStyle" size="1">Tamaño de Letra</font><br />
<
font class="FontStyle" size="2">Tamaño de Letra</font><br />
<
font class="FontStyle" size="3">Tamaño de Letra</font><br />
<
font class="FontStyle" size="4">Tamaño de Letra</font><br />
<
font class="FontStyle" size="5">Tamaño de Letra</font><br />
<
font class="FontStyle" size="6">Tamaño de Letra</font><br />
</
body>
</
html>


 

Top of page
Text to Speech Speech synthesis Software TTS Software
Copy Right 2006 SpeakComputers.com - All Rights Reserved.
About Privacy Policy TTS Resouces
Free Text to Speech software
Free Text to Speech Software