logo htlm 5

Ejemplo de uso de propiedad weight para enfatizar texto

Código Resultado

<html>
<head>
<title>font-weight</title>
<meta charset="iso-8859-15"/>
<body>
<p style="font-weight:normal">Intensidad de la fuente normal</p>
<p style="font-weight:bold">Intensidad de la fuente bold</p>
<p style="font-weight:bolder">Intensidad de la fuente bolder</p>
<p style="font-weight:lighter">Intensidad de la fuente lighter</p>
<p style="font-weight:100">Intensidad de la fuente 100</p>
<p style="font-weight:200">Intensidad de la fuente 200</p>
<p style="font-weight:300">Intensidad de la fuente 300</p>
<p style="font-weight:400">Intensidad de la fuente 400</p>
<p style="font-weight:500">Intensidad de la fuente 500</p>
<p style="font-weight:600">Intensidad de la fuente 600</p>
<p style="font-weight:700">Intensidad de la fuente 700</p>
<p style="font-weight:800">Intensidad de la fuente 800</p>
<p style="font-weight:900">Intensidad de la fuente 900</p>
Nota:Los resultados dependen del tipo de estilo y del navegador.<br>
En muchos casos, no hay diferencias entre las diferentes intensidades.
</body>
</html>