From a55b575e8089ee6cab7c5c262a7e6db55d0e34d6 Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 14:46:50 +0100 Subject: unslug es: move --- .../web/html/global_attributes/itemprop/index.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 files/es/web/html/global_attributes/itemprop/index.html (limited to 'files/es/web/html/global_attributes/itemprop') diff --git a/files/es/web/html/global_attributes/itemprop/index.html b/files/es/web/html/global_attributes/itemprop/index.html new file mode 100644 index 0000000000..232af938aa --- /dev/null +++ b/files/es/web/html/global_attributes/itemprop/index.html @@ -0,0 +1,22 @@ +--- +title: itemprop +slug: Web/HTML/Atributos_Globales/itemprop +tags: + - atributo + - metatag +translation_of: Web/HTML/Global_attributes/itemprop +--- +

Podemos dar más información al motor de búsqueda acerca de imágenes o datos adentro de cualquier tipo de etiquetas , como las propiedades : actores , clasificación ,genero . Para etiquetar las propiedades de un elemento , usa el atributo itemprop . Por ejemplo , para identificar al actor de una película añadir itemprop="director" al elemento que encierra el nombre del director.

+ +

Aquí hay un ejemplo .

+ +
<div itemscope itemtype="http://schema.org/Movie">
+  <h1 itemprop="name">Avatar</h1>
+  <span>Director: <span itemprop="director">James Cameron</span> (born August 16, 1954)</span>
+  <span itemprop="genre">Ciencia ficcion</span>
+  <a href="../movies/avatar-theatrical-trailer.html" itemprop="trailer">Trailer</a>
+</div>
+ +

 

+ +

             Para más información acerca de los atributos relacionados consultar  https://schema.org/docs/gs.html

-- cgit v1.2.3-54-g00ecf