-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert /web/html/element/[a-d] folder to Markdown (es) (#8206)
* Convert /web/html/element/[a-d] folder to Markdown (es) * Apply suggestions from code review Original PR by: Queen Vinyl Da.i'gyu-Kazotetsu <[email protected]>
- Loading branch information
Showing
20 changed files
with
569 additions
and
895 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
title: <abbr> | ||
slug: Web/HTML/Element/abbr | ||
tags: | ||
- HTML | ||
- HTML:Elemento | ||
- Todas_las_Categorías | ||
translation_of: Web/HTML/Element/abbr | ||
original_slug: Web/HTML/Elemento/abbr | ||
--- | ||
{{HTMLRef}} | ||
|
||
El **elemento HTML `<abbr>`** (_o Elemento de Abreviación HTML_) representa una abreviación o acrónimo; el atributo opcional {{htmlattrxref("title")}} puede ampliar o describir la abreviatura. Si está presente, el atributo `title` debe contener la descripción completa y nada más. | ||
|
||
```html | ||
<p>I do <abbr title="Hypertext Markup Language">HTML</abbr></p> | ||
``` | ||
|
||
El artículo [Cómo marcar abreviaciones y hacerlas entendibles](/en-US/Learn/HTML/Howto/Mark_abbreviations_and_make_them_understandable) es una guía para aprender a usar `<abbr>` y elementos relacionados. | ||
|
||
| Interfaz DOM | {{domxref("HTMLElement")}} | | ||
| -------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| [Categorías de contenido](/es/docs/Web/Guide/HTML/categorias_de_contenido) | [Contenido dinámico](/es/docs/Web/Guide/HTML/categorias_de_contenido#Contenido_dinámico), [contenido estático o de texto](/es/docs/Web/Guide/HTML/categorias_de_contenido#Contenido_estático_o_de_texto), contenido palpable | | ||
| Conteido permitido | [Contenido de estático o de texto](/es/docs/Web/Guide/HTML/categorias_de_contenido#Contenido_estático_o_de_texto) | | ||
| Elementos padre permitidos | Cualquier elemento que acepte [contenido estático o de texto](/es/docs/Web/Guide/HTML/categorias_de_contenido#Contenido_estático_o_de_texto) | | ||
|
||
## Atributos | ||
|
||
Este elemento sólo incluye los [atributos globales](/es/docs/Web/HTML/Atributos_Globales). El atributo {{htmlattrxref("title")}} tiene un sentido específicamente semántico cuando es usado con el elemento `<abbr>`; _debe_ contener una completa descripción o ampliación de la abreviación. Este texto es usualmente presentado por los navegadores como tooltip cuando se pasa el mouse sobre el elemento. | ||
|
||
Cada elemento `<abbr>` usado es independiente de todos los otros; dar un `<title>` a uno no hace que automáticamente todos los demás adquieran la misma descripción. | ||
|
||
> **Nota:** En lenguajes con números gramaticales (especialmente lenguajes con más de dos números, como el Árabe), utiliza el mismo número gramatical en el atributo `title` como dentro del elemento `<abbr>`. | ||
## Especificaciones | ||
|
||
| Especificación | Estado | Comentario | | ||
| ------------------------------------------------------------------------------------------------------------------------ | -------------------------------- | ---------- | | ||
| {{SpecName('HTML WHATWG', 'text-level-semantics.html#the-abbr-element', '<abbr>')}} | {{Spec2('HTML WHATWG')}} | | | ||
| {{SpecName('HTML5 W3C', 'text-level-semantics.html#the-abbr-element', '<abbr>')}} | {{Spec2('HTML5 W3C')}} | | | ||
| {{SpecName('HTML4.01', 'struct/text.html#edef-ABBR', '<abbr>')}} | {{Spec2('HTML4.01')}} | | | ||
|
||
## Compatibilidad de navegador | ||
|
||
{{Compat("html.elements.abbr")}} | ||
|
||
## Estilo por defecto | ||
|
||
El propósito de este elemento es puramente para la conveniencia del autor y por defecto todos los navegadores lo muestran en línea ({{cssxref('display')}}`: inline`), sin embargo su estilo por defecto varía de un navegador a otro: | ||
|
||
- Algunos navegadores, como Internet Exlorer, no lo diseñan de manera diferente que el elemento {{HTMLElement("span")}}. | ||
- Opera, Firefox, y algunos otros añaden un subrayado de puntos al contenido del elemento. | ||
- Algunos navegadores no sólo añaden un subrayado de puntos, sino que también lo ponen en minúsculas; para evitar este estilo, añadir algo como {{cssxref('font-variant')}}`: none` en CSS se hace cargo de este caso. | ||
|
||
## Ver también | ||
|
||
- [Utilizando el elemento \<abbr>](/en-US/Learn/HTML/Howto/Mark_abbreviations_and_make_them_understandable) | ||
- Otros elementos de nivel semántico de texto: {{HTMLElement("a")}}, {{HTMLElement("em")}}, {{HTMLElement("strong")}}, {{HTMLElement("small")}}, {{HTMLElement("cite")}}, {{HTMLElement("q")}}, {{HTMLElement("dfn")}}, {{HTMLElement("time")}}, {{HTMLElement("code")}}, {{HTMLElement("var")}}, {{HTMLElement("samp")}}, {{HTMLElement("kbd")}}, {{HTMLElement("sub")}}, {{HTMLElement("sup")}}, {{HTMLElement("b")}}, {{HTMLElement("i")}}, {{HTMLElement("mark")}}, {{HTMLElement("ruby")}}, {{HTMLElement("rp")}}, {{HTMLElement("rt")}}, {{HTMLElement("bdo")}}, {{HTMLElement("span")}}, {{HTMLElement("br")}}, {{HTMLElement("wbr")}}. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.