propiedad de tamaño de fuente HTML
Soporte para el navegador
Todos los principales navegadores soportan el atributo tamaño.
Definición y Uso
HTML5 no soporta la etiqueta <font>. Por favor, ser reemplazado con CSS.
En HTML 4.01, <font> El tamaño de atributo obsoleto .
atributo especifica el tamaño de <font> elemento actual tamaño chino.
Notas de compatibilidad
En HTML 4.01, <font> El atributo de tamaño se descarta. Por favor, ser reemplazado con CSS.
CSS Sintaxis: <p style = "font-size: 20px">
CSS Ejemplo: establecer el tamaño del texto
En nuestro tutorial CSS usted puede encontrar más información sobre el tamaño de letra propiedad detalle.
gramática
<font size="number">
propiedad Valor
值 | 描述 |
---|---|
number | 规定文本的尺寸大小。可能的值:从 1 到 7 的数字。浏览器默认值是 3。 |
etiqueta <font> HTML