{"id":55,"date":"2012-01-22T01:31:03","date_gmt":"2012-01-22T00:31:03","guid":{"rendered":"http:\/\/www.dgcmedia.es\/blog\/?p=55"},"modified":"2012-02-05T21:46:13","modified_gmt":"2012-02-05T20:46:13","slug":"atributo-rel","status":"publish","type":"post","link":"https:\/\/www.dgcmedia.es\/blog\/atributo-rel\/","title":{"rendered":"Atributo rel"},"content":{"rendered":"<p>Vamos a examinar el atributo rel de las url en una p\u00e1gina web. \u00c9ste sirve para establecer una relaci\u00f3n entre la p\u00e1gina que contiene el enlace y su destino.<\/p>\n<p>Es un microformato que informa de la jerarqu\u00eda de una p\u00e1gina web (index, section, chapter, next, prev&#8230;), indica a los robots si han de seguir el enlace o no (nofollow), o incluso sirve para establecer v\u00ednculos de amistad o trabajo (friend, co-worker, colleague&#8230;)<\/p>\n<p>Como supondr\u00e9is, es importante para el correcto posicionamiento de una p\u00e1gina y parte importante del SEO.<\/p>\n<p>As\u00ed se har\u00eda un link correcto:<\/p>\n<p>&lt;a href=&#8221;http:\/\/www.dgcmedia.es&#8221; rel=&#8221;index&#8221; tittle=&#8221;Dise\u00f1o web Madrid&#8221;&gt;Dise\u00f1o Web Madrid&lt;\/a&gt;<\/p>\n<p>Os dejo un par de tablas con variables del atributo rel (en ingl\u00e9s)<\/p>\n<table>\n<tbody>\n<tr>\n<th>Value<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>acquaintance<\/td>\n<td>The person represented by the current document considers the person represented by the referenced document to be an acquaintance<\/td>\n<\/tr>\n<tr>\n<td>alternate<\/td>\n<td>The rel=&#8221;alternate&#8221; attribute specifies an alternate version of the document. When used with the link element&#8217;s hreflang attribute, this value implies a translation of the document. When used with link&#8217;s media attribute, a media-specific version (e.g., for printing) is implied.<\/td>\n<\/tr>\n<tr>\n<td>archives<\/td>\n<td>The rel=&#8221;archives&#8221; attribute indicates that the referenced document describes a collection of records, documents, or other materials of historical interest.<\/td>\n<\/tr>\n<tr>\n<td>author<\/td>\n<td>The rel=&#8221;author&#8221; attribute indicates that the referenced document provides information about the author of the current document.<\/td>\n<\/tr>\n<tr>\n<td>bookmark<\/td>\n<td>The rel=&#8221;bookmark&#8221; attribute indicates that the referenced document is a bookmark or permalink for the enclosing section or document.<\/td>\n<\/tr>\n<tr>\n<td>child<\/td>\n<td>the referenced person is a child of the person represented by the current document<\/td>\n<\/tr>\n<tr>\n<td>co-resident<\/td>\n<td>the referenced person lives in the same residence as the person represented by the current document<\/td>\n<\/tr>\n<tr>\n<td>co-worker<\/td>\n<td>the referenced person is a co-worker of the person represented by the current document<\/td>\n<\/tr>\n<tr>\n<td>colleague<\/td>\n<td>the referenced person is a colleague of the person represented by the current document<\/td>\n<\/tr>\n<tr>\n<td>contact<\/td>\n<td>the person represented by the current document considers the person represented by the referenced document to be a contact<\/td>\n<\/tr>\n<tr>\n<td>crush<\/td>\n<td>this person considers the referenced person to be a crush (i.e. has a crush on the referenced person)<\/td>\n<\/tr>\n<tr>\n<td>date<\/td>\n<td>this person considers the referenced person to be a date (i.e. is dating the referenced person)<\/td>\n<\/tr>\n<tr>\n<td>external<\/td>\n<td>The rel=&#8221;external&#8221; attribute indicates that the referenced document is not part of the same web site as the current document.<\/td>\n<\/tr>\n<tr>\n<td>first<\/td>\n<td>The rel=&#8221;first&#8221; attribute is a synonym for rel=&#8221;start&#8221;. The rel=&#8221;start&#8221; attribute indicates that the referenced document is the first in a document collection.<\/td>\n<\/tr>\n<tr>\n<td>friend<\/td>\n<td>the person represented by the current document considers the person represented by the referenced document to be a friend<\/td>\n<\/tr>\n<tr>\n<td>help<\/td>\n<td>The rel=&#8221;help&#8221; attribute indicates that the referenced document contains context-sensitive help.<\/td>\n<\/tr>\n<tr>\n<td>icon<\/td>\n<td>The rel=&#8221;icon&#8221; attribute indicates that the referenced document is an icon for the current document.<\/td>\n<\/tr>\n<tr>\n<td>index<\/td>\n<td>The rel=&#8221;index&#8221; attribute indicates that the referenced document is a table of contents or index for the current document.<\/td>\n<\/tr>\n<tr>\n<td>kin<\/td>\n<td>the referenced person is part of the extended family of the person represented by the current document<\/td>\n<\/tr>\n<tr>\n<td>last<\/td>\n<td>The rel=&#8221;last&#8221; attribute indicates that the referenced document is the last page in a document collection.<\/td>\n<\/tr>\n<tr>\n<td>license<\/td>\n<td>The rel=&#8221;license&#8221; attribute indicates that the referenced document is a license that governs the current document.<\/td>\n<\/tr>\n<tr>\n<td>me<\/td>\n<td>the referenced document represents the same person as does the current document<\/td>\n<\/tr>\n<tr>\n<td>met<\/td>\n<td>this person has met the referenced person<\/td>\n<\/tr>\n<tr>\n<td>muse<\/td>\n<td>the referenced person inspires the person represented by the current document<\/td>\n<\/tr>\n<tr>\n<td>neighbor<\/td>\n<td>the referenced person lives nearby the person represented by the current document<\/td>\n<\/tr>\n<tr>\n<td>next<\/td>\n<td>The rel=&#8221;next&#8221; attribute indicates that the referenced document is the next document in a document collection (after the current document).<\/td>\n<\/tr>\n<tr>\n<td>nofollow<\/td>\n<td>The rel=&#8221;nofollow&#8221; attribute indicates that the author of the current document does not endorse the referenced document or that the link to the referenced document was included primarily because of a commercial relationship between people affiliated with the two pages.<\/td>\n<\/tr>\n<tr>\n<td>noreferrer<\/td>\n<td>The rel=&#8221;noreferrer\u201c indicates that the no referrer information is to be leaked when following the link.<\/td>\n<\/tr>\n<tr>\n<td>parent<\/td>\n<td>the referenced person is a parent of the person represented by the current document<\/td>\n<\/tr>\n<tr>\n<td>pingback<\/td>\n<td>The rel=&#8221;pingback&#8221; attribute indicates that the referenced document is a pingback server for the current document.<\/td>\n<\/tr>\n<tr>\n<td>prefetch<\/td>\n<td>The rel=&#8221;prefetch&#8221; attribute indicates that the author recommends preemptively fetching and caching the specified resource.<\/td>\n<\/tr>\n<tr>\n<td>prev<\/td>\n<td>The rel=&#8221;prev&#8221; attribute indicates that the referenced document is the previous document in a document collection (before the current document).<\/td>\n<\/tr>\n<tr>\n<td>search<\/td>\n<td>The rel=&#8221;search&#8221; attribute indicates that the referenced document can be used to search the current document and its document collection.<\/td>\n<\/tr>\n<tr>\n<td>sibling<\/td>\n<td>the referenced person is a sibling of the person represented by the current document<\/td>\n<\/tr>\n<tr>\n<td>sidebar<\/td>\n<td>The rel=&#8221;sidebar&#8221; attribute indicates that the referenced document is meant to be opened in a sidebar, if the browser supports it.<\/td>\n<\/tr>\n<tr>\n<td>spouse<\/td>\n<td>the referenced person is a spouse of the person represented by the current document<\/td>\n<\/tr>\n<tr>\n<td>start<\/td>\n<td>The rel=&#8221;start&#8221; attribute indicates that the referenced document is the first in a document collection.<\/td>\n<\/tr>\n<tr>\n<td>stylesheet<\/td>\n<td>The rel=&#8221;stylesheet&#8221; attribute indicates that the referenced document is a stylesheet for the current document.<\/td>\n<\/tr>\n<tr>\n<td>sweetheart<\/td>\n<td>this person considers the referenced person to be their sweetheart<\/td>\n<\/tr>\n<tr>\n<td>tag<\/td>\n<td>The rel=&#8221;tag&#8221; attribute indicates that the tag that the referenced document represents applies to the current document.<\/td>\n<\/tr>\n<tr>\n<td>up<\/td>\n<td>The rel=&#8221;up&#8221; attribute indicates that the referenced document is the parent of the current document in a hierarchical document collection.<\/td>\n<\/tr>\n<tr>\n<td>alternate<\/td>\n<td>An alternate version of the document (i.e. print page, translated or mirror)<\/td>\n<\/tr>\n<tr>\n<td>stylesheet<\/td>\n<td>An external style sheet for the document<\/td>\n<\/tr>\n<tr>\n<td>start<\/td>\n<td>The first document in a selection<\/td>\n<\/tr>\n<tr>\n<td>next<\/td>\n<td>The next document in a selection<\/td>\n<\/tr>\n<tr>\n<td>prev<\/td>\n<td>The previous document in a selection<\/td>\n<\/tr>\n<tr>\n<td>contents<\/td>\n<td>A table of contents for the document<\/td>\n<\/tr>\n<tr>\n<td>index<\/td>\n<td>An index for the document<\/td>\n<\/tr>\n<tr>\n<td>glossary<\/td>\n<td>A glossary (explanation) of words used in the document<\/td>\n<\/tr>\n<tr>\n<td>copyright<\/td>\n<td>A document containing copyright information<\/td>\n<\/tr>\n<tr>\n<td>chapter<\/td>\n<td>A chapter of the document<\/td>\n<\/tr>\n<tr>\n<td>section<\/td>\n<td>A section of the document<\/td>\n<\/tr>\n<tr>\n<td>subsection<\/td>\n<td>A subsection of the document<\/td>\n<\/tr>\n<tr>\n<td>appendix<\/td>\n<td>An appendix for the document<\/td>\n<\/tr>\n<tr>\n<td>help<\/td>\n<td>A help document<\/td>\n<\/tr>\n<tr>\n<td>bookmark<\/td>\n<td>A related document<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>nofollow<\/td>\n<td>&#8220;nofollow&#8221; is used by Google, to specify that the Google search spider should not follow that link (mostly used for paid links)<\/td>\n<\/tr>\n<tr>\n<td>license<\/td>\n<td>Link to copyright information for the document<\/td>\n<\/tr>\n<tr>\n<td>tag<\/td>\n<td>A tag (keyword) for the current document<\/td>\n<\/tr>\n<tr>\n<td>friend<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong><a rel=\"index\" title=\"dise\u00f1o web\" href=\"http:\/\/www.dgcmedia.es\" target=\"_blank\"><em>DGCmedia Dise\u00f1o web, posicionamiento y publicidad en Google Adwords<\/em><\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vamos a examinar el atributo rel de las url en una p\u00e1gina web. \u00c9ste sirve para establecer una relaci\u00f3n entre la p\u00e1gina que contiene el enlace y su destino. Es un microformato que informa de la jerarqu\u00eda de una p\u00e1gina &hellip; <a href=\"https:\/\/www.dgcmedia.es\/blog\/atributo-rel\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[22,21,6],"tags":[154,7,11],"_links":{"self":[{"href":"https:\/\/www.dgcmedia.es\/blog\/wp-json\/wp\/v2\/posts\/55"}],"collection":[{"href":"https:\/\/www.dgcmedia.es\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dgcmedia.es\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dgcmedia.es\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dgcmedia.es\/blog\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":6,"href":"https:\/\/www.dgcmedia.es\/blog\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":58,"href":"https:\/\/www.dgcmedia.es\/blog\/wp-json\/wp\/v2\/posts\/55\/revisions\/58"}],"wp:attachment":[{"href":"https:\/\/www.dgcmedia.es\/blog\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dgcmedia.es\/blog\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dgcmedia.es\/blog\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}