HTML <h1> - <h6> etiquetas
Ejemplos
Seis títulos HTML diferentes:
<h1>这是标题 1</h1>
<h2>这是标题 2</h2>
<h3>这是标题 3</h3>
<h4>这是标题 4</h4>
<h5>这是标题 5</h5>
<h6>这是标题 6</h6>
<h2>这是标题 2</h2>
<h3>这是标题 3</h3>
<h4>这是标题 4</h4>
<h5>这是标题 5</h5>
<h6>这是标题 6</h6>
Trate »
Soporte para el navegador
Todos los principales navegadores soportan <h1> - <h6> etiquetas.
definiciones de código e instrucciones
<H1> - etiqueta <h6> se utiliza para definir el título HTML.
<H1> Nivel importante para definir el título más alto. <H6> para definir el nivel mínimo de títulos importantes.
Diferencias entre HTML 4.01 y HTML5
En HTML 4.01, <h1> - <h6> La propiedad "alinear" ha sido abandonada. En el HTML 5, <h1> - <h6> "alinear" no se admite atributo del elemento. Usar CSS para organizar los elementos.
propiedad
属性 | 值 | 描述 |
---|---|---|
align | left center right justify |
HTML5 不支持。HTML 4.01 已废弃。 规定标题中文本的排列。 |
Propiedades globales
<H1> - etiqueta <h6> soporta propiedades globales HTML .
Propiedades del evento
<H1> - etiqueta <h6> soporta propiedades de evento HTML .
Artículos relacionados
HTML Tutorial: título HTML