Elementos de una pagina web html

Inicio » Elementos de una pagina web html

Elementos de una pagina web html

html elements list

<li>: The List Item elementThe <li> HTML element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.

This integer attribute indicates the current ordinal value of the list item as defined by the <ol> element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The value attribute has no meaning for unordered lists (<ul>) or for menus (<menu>).

documento html

Un elemento HTML es un tipo de componente del documento HTML (Lenguaje de Marcado de Hipertexto), uno de los varios tipos de nodos HTML (también hay nodos de texto, nodos de comentario y otros).[vago] El documento HTML se compone de un árbol de nodos HTML simples, como los nodos de texto, y de elementos HTML, que añaden semántica y formato a partes del documento (por ejemplo, hacer que el texto esté en negrita, organizarlo en párrafos, listas y tablas, o incrustar hipervínculos e imágenes). Cada elemento puede tener atributos HTML especificados. Los elementos también pueden tener contenido, incluyendo otros elementos y texto.

Como se entiende generalmente, la posición de un elemento se indica como abarcando desde una etiqueta de inicio, posiblemente incluyendo algún contenido hijo, y se termina con una etiqueta de fin[1] Este es el caso de muchos, pero no todos, los elementos dentro de un documento HTML. La especificación HTML 4.01 subraya explícitamente esta distinción:

Los elementos no son etiquetas. Algunas personas se refieren a los elementos como etiquetas (por ejemplo, «la etiqueta P»). Recuerda que el elemento es una cosa, y la etiqueta (ya sea de inicio o de fin) es otra. Por ejemplo, el elemento HEAD siempre está presente, aunque las etiquetas HEAD de inicio y final puedan faltar en el marcado[1].

etiquetas html5

<input>: The Input (Form Input) elementThe <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent. The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.<input> typesHow an <input> works varies considerably depending on the value of its type attribute, hence the different types are covered in their own separate reference pages. If this attribute is not specified, the default type adopted is text.

AttributesThe <input> element is so powerful because of its attributes; the type attribute, described with examples above, being the most important. Since every <input> element, regardless of type, is based on the HTMLInputElement interface, they technically share the exact same set of attributes. However, in reality, most attributes have an effect on only a specific subset of input types. In addition, the way some attributes impact an input depends on the input type, impacting different input types in different ways.

etiquetas html

Metadatos del documentoLos metadatos contienen información sobre la página. Esto incluye información sobre estilos, scripts y datos para ayudar al software (motores de búsqueda, navegadores, etc.) a utilizar y representar la página. Los metadatos para los estilos y los scripts pueden estar definidos en la página o enlazar con otro archivo que tenga la información.

Seccionamiento del contenidoLos elementos de seccionamiento del contenido permiten organizar el contenido del documento en partes lógicas. Utilice los elementos de seccionamiento para crear un esquema amplio para el contenido de su página, incluyendo la navegación de cabecera y pie de página, y los elementos de encabezamiento para identificar las secciones de contenido.

El elemento HTML <article> representa una composición autocontenida en un documento, página, aplicación o sitio, que está destinada a ser distribuida o reutilizada de forma independiente (por ejemplo, en sindicación). Algunos ejemplos son: una entrada de un foro, un artículo de una revista o un periódico, o una entrada de un blog, una ficha de producto, un comentario enviado por un usuario, un widget o gadget interactivo, o cualquier otro elemento de contenido independiente.

El elemento HTML <header> representa el contenido introductorio, normalmente un grupo de ayudas a la introducción o a la navegación. Puede contener algunos elementos de encabezamiento, pero también un logotipo, un formulario de búsqueda, un nombre de autor y otros elementos.

Scroll al inicio
Ir arriba