From 1109132f09d75da9a28b649c7677bb6ce07c40c0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:45 -0500 Subject: initial commit --- .../html/atributos_globales/itemprop/index.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 files/es/web/html/atributos_globales/itemprop/index.html (limited to 'files/es/web/html/atributos_globales/itemprop') diff --git a/files/es/web/html/atributos_globales/itemprop/index.html b/files/es/web/html/atributos_globales/itemprop/index.html new file mode 100644 index 0000000000..232af938aa --- /dev/null +++ b/files/es/web/html/atributos_globales/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