{"id":69365,"date":"2022-06-23T08:47:31","date_gmt":"2022-06-23T06:47:31","guid":{"rendered":"https:\/\/rmarketingdigital.com\/wiki\/atributo\/"},"modified":"2024-10-28T22:50:48","modified_gmt":"2024-10-28T21:50:48","slug":"attribute","status":"publish","type":"glossary","link":"https:\/\/rmarketingdigital.com\/en\/wiki\/attribute\/","title":{"rendered":"Attribute"},"content":{"rendered":"<p><\/p>\n<div id=\"mw-content-text\" lang=\"es\" dir=\"ltr\" class=\"mw-content-ltr\">\n<p><b>Attribute<\/b> it is a definition that is used in various fields of IT. Generally, an attribute is used to describe a file or data field in more detail. In object-oriented programming, attributes are a property or characteristic that can be assigned to an object (element). Through the use of attributes, specific values can be assigned to certain items.\n<\/p>\n<h2>\n<span class=\"mw-headline\" id=\".C3.81reas_de_aplicaci.C3.B3n\">Application areas<\/span><br \/>\n<\/h2>\n<p>The three most common areas in which attributes are used in the IT field are:\n<\/p>\n<ul>\n<li> <b>Data processing<\/b>: Here attributes are used to specify files. Common file attributes include size or creation date.<\/li>\n<li> <b>HTML<\/b>: In HTML, attributes serve as tags to further define objects.<\/li>\n<li> <b>XML or SGML<\/b>: In these languages, the properties of the items or variables are defined by means of attributes.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"600x400-Attribute-en-01.png\" src=\"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/05\/600x400-Atributo-es-01.png\" width=\"600\" height=\"400\">\n<\/p>\n<h2>\n<span class=\"mw-headline\" id=\"Atributos_en_etiquetas_HTML\">Attributes in HTML tags<\/span><br \/>\n<\/h2>\n<p>Attributes are commonly used in HTML tags and have different characteristics. Regardless, only certain attributes are allowed as part of the W3C standards.\n<\/p>\n<h2>\n<span class=\"mw-headline\" id=\"Estructura\">Structure<\/span><br \/>\n<\/h2>\n<p>Inside an element (here an h2 tag) an attribute is defined directly at the beginning followed by an equal sign. The value of the attribute is enclosed in quotation marks.\n<\/p>\n<pre>&lt;h2 id=&quot;my id&quot;&gt;...&lt;\/h2&gt;<\/pre>\n<p>There are some common attributes that can be used for all HTML items:\n<\/p>\n<ul>\n<li> <b>title attribute<\/b>: This attribute assigns a title to the particular HTML element. This title can appear on the web as a tool tip, for example, when the user moves the cursor over it.<\/li>\n<li> <b>href \/ src<\/b>: This specifies a URL for a web address or an image contained in the HTML code.<\/li>\n<li> <b>width \/ height attribute<\/b>: These attributes define the size of the graphics (width \/ height).<\/li>\n<li> <b>alt attribute<\/b>: This attribute is used to define alternative description text for graphics in source code. Appears when the browser cannot load the file. ALT attributes are also used for equal access websites (that is, accessible to people with disabilities).<\/li>\n<\/ul>\n<h2>\n<span class=\"mw-headline\" id=\"Uso_de_m.C3.BAltiples_atributos\">Use of various attributes<\/span><br \/>\n<\/h2>\n<p>It is feasible to accommodate multiple attributes in one tag. Individual attributes are separated by spaces.\n<\/p>\n<pre>&lt;h2 class=&quot;textwhite backgroundpurple&quot;id=&quot;heading2&quot;&gt;...&lt;\/h2&gt;<\/pre>\n<p>Attributes like class attribute and id attribute are usually applied to the visual design of HTML items using CSS (Cascading Style Sheets).\n<\/p>\n<p>It should be noted that the formatting of the webs should always be done through style sheets. The reason for this is that the W3C considers attributes that only serve for formatting to be &quot;obsolete&quot;. Good HTML styling separates content from layout.\n<\/p>\n<h2>\n<span class=\"mw-headline\" id=\"Ejemplos\">Examples<\/span><br \/>\n<\/h2>\n<p>Most of the HTML attributes are optional. If you embed an image on a website with an img tag, while specifying its origin with a src tag, an ALT attribute should also be assigned to display an alternative text if the image cannot be displayed.\n<\/p>\n<p>An example of optional but very interesting attributes are the title attributes. If an Internet user briefly hovers over a link, he will get a brief description of the link&#039;s destination through this attribute. This would make it easier to use and navigate. This title attribute could be implemented as follows.\n<\/p>\n<pre>&lt;p&gt;...at the &lt;a href=&quot;http:\/\/chocolate-expert.tld\/path\/to\/preparation\/&quot; title=&quot;The chocolate experts &ndash; 100 possible ways to prepare chocolate&quot;&gt;Preparation&lt;\/a&gt;of chocolate...&lt;\/p&gt;<\/pre>\n<p>The attributes are definitely relevant for online store operators as well. Users can compare and find multiple products through Google Shopping. Correct HTML markup is very important if an online store offers its products through the Google Base Product Feed. Google describes all possible attributes, which are important to the <a rel=\"nofollow noopener noreferrer\" target=\"_blank\" class=\"external text\" href=\"https:\/\/support.google.com\/merchants\/answer\/7052112?hl=es&amp;visit_id=0-636692339070488316-3648262539&amp;rd=1\">Product Feed Specification<\/a> in your Google Merchant Center.\n<\/p>\n<h2>\n<span class=\"mw-headline\" id=\"Importancia_para_el_SEO\">Importance for SEO<\/span><br \/>\n<\/h2>\n<p>As a general rule, Google considers the correct use of attributes as an indication of the quality of a website. The Title and Alt attributes can be beneficial for SEO OnPage. The alt attribute, for example, has a great influence on SEO for images, since this attribute provides a reference to the content of the image, which otherwise the crawler could only get through the embedded content. Title attributes have long been considered an important optimization factor for the relationship. The keywords were not only used in the anchor text, but also in the title as part of the link building. Currently, SEOs must be careful when using anchor text and titles for external links to avoid keyword stuffing. Still, in the case of internal links, title attributes can be advantageous, as they give users and Googlebot an indication of what to expect from the landing page.\n<\/p>\n<p><!-- \nNewPP limit report\nCached time: 20200501162558\nCache expiry: 86400\nDynamic content: false\nCPU time usage: 0.008 seconds\nReal time usage: 0.009 seconds\nPreprocessor visited node count: 51\/1000000\nPreprocessor generated node count: 96\/1000000\nPost\u2010expand include size: 0\/2097152 bytes\nTemplate argument size: 0\/2097152 bytes\nHighest expansion depth: 2\/40\nExpensive parser function count: 0\/100\n--><\/p>\n<p><!-- \nTransclusion expansion time report (%,ms,calls,template)\n100.00%    0.000      1 - -total\n--><\/p>\n<p><!-- Saved in parser cache with key es_:stable-pcache:idhash:551-0!*!0!!es!5!* and timestamp 20200501162558 and revision id 2630\n -->\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Atributo es una definici\u00f3n que se usa en varios campos de IT. Generalmente, un atributo se usa para describir un fichero o un campo de datos con m\u00e1s detalle. En&#8230;<\/p>","protected":false},"author":1,"featured_media":69366,"parent":0,"template":"","glossary-cat":[],"class_list":["post-69365","glossary","type-glossary","status-publish","has-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v28.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Atributo - R Marketing Digital<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rmarketingdigital.com\/en\/wiki\/attribute\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Atributo\" \/>\n<meta property=\"og:description\" content=\"Atributo es una definici\u00f3n que se usa en varios campos de IT. Generalmente, un atributo se usa para describir un fichero o un campo de datos con m\u00e1s detalle. En...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rmarketingdigital.com\/en\/wiki\/attribute\/\" \/>\n<meta property=\"og:site_name\" content=\"R Marketing Digital\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-28T21:50:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/05\/600x400-Atributo-es-01.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/atributo\\\/\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/atributo\\\/\",\"name\":\"Atributo - R Marketing Digital\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/atributo\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/atributo\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rmarketingdigital.com\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/600x400-Atributo-es-01.png\",\"datePublished\":\"2022-06-23T06:47:31+00:00\",\"dateModified\":\"2024-10-28T21:50:48+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/atributo\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/wiki\\\/atributo\\\/#primaryimage\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/600x400-Atributo-es-01.png\",\"contentUrl\":\"https:\\\/\\\/rmarketingdigital.com\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/600x400-Atributo-es-01.png\",\"width\":600,\"height\":400,\"caption\":\"600x400-atributo-es-01-2134481-png\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rmarketingdigital.com\\\/#website\",\"url\":\"https:\\\/\\\/rmarketingdigital.com\\\/\",\"name\":\"R Marketing Digital\",\"description\":\"Agencia SEO | Publicidad redes sociales | Community Management\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rmarketingdigital.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Atributo - R Marketing Digital","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rmarketingdigital.com\/en\/wiki\/attribute\/","og_locale":"en_US","og_type":"article","og_title":"Atributo","og_description":"Atributo es una definici\u00f3n que se usa en varios campos de IT. Generalmente, un atributo se usa para describir un fichero o un campo de datos con m\u00e1s detalle. En...","og_url":"https:\/\/rmarketingdigital.com\/en\/wiki\/attribute\/","og_site_name":"R Marketing Digital","article_modified_time":"2024-10-28T21:50:48+00:00","og_image":[{"width":600,"height":400,"url":"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/05\/600x400-Atributo-es-01.png","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rmarketingdigital.com\/wiki\/atributo\/","url":"https:\/\/rmarketingdigital.com\/wiki\/atributo\/","name":"Atributo - R Marketing Digital","isPartOf":{"@id":"https:\/\/rmarketingdigital.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rmarketingdigital.com\/wiki\/atributo\/#primaryimage"},"image":{"@id":"https:\/\/rmarketingdigital.com\/wiki\/atributo\/#primaryimage"},"thumbnailUrl":"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/05\/600x400-Atributo-es-01.png","datePublished":"2022-06-23T06:47:31+00:00","dateModified":"2024-10-28T21:50:48+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rmarketingdigital.com\/wiki\/atributo\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rmarketingdigital.com\/wiki\/atributo\/#primaryimage","url":"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/05\/600x400-Atributo-es-01.png","contentUrl":"https:\/\/rmarketingdigital.com\/wp-content\/uploads\/2020\/05\/600x400-Atributo-es-01.png","width":600,"height":400,"caption":"600x400-atributo-es-01-2134481-png"},{"@type":"WebSite","@id":"https:\/\/rmarketingdigital.com\/#website","url":"https:\/\/rmarketingdigital.com\/","name":"R Digital Marketing","description":"SEO Agency | Advertising social networks | Community Management","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rmarketingdigital.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary\/69365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/types\/glossary"}],"author":[{"embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":0,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary\/69365\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/media\/69366"}],"wp:attachment":[{"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/media?parent=69365"}],"wp:term":[{"taxonomy":"glossary-cat","embeddable":true,"href":"https:\/\/rmarketingdigital.com\/en\/wp-json\/wp\/v2\/glossary-cat?post=69365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}