Etiqueta HTML <font>
No compatible con HTML5.
La etiqueta <font> se utilizó en HTML 4 para especificar el tipo de fuente, el tamaño de fuente y el color del texto.
¿Qué utilizar en su lugar?
Ejemplo
Establecer el color del texto (con CSS):
<p style="color:red">This is a paragraph.</p>
<p style="color:blue">This is another paragraph.</p>
Try it Yourself »
Ejemplo
Establecer la fuente del texto (con CSS):
<p style="font-family:verdana">This is a paragraph.</p>
<p style="font-family:'Courier New'">This is another paragraph.</p>
Try it Yourself »
Ejemplo
Establecer el tamaño del texto (con CSS):
<p style="font-size:30px">This is a paragraph.</p>
<p style="font-size:11px">This is another paragraph.</p>
Try it Yourself »
En nuestro tutorial de CSS, puedes encontrar más información sobre Texto CSS y Fuentes CSS.
