{"id":66,"date":"2022-03-19T10:13:18","date_gmt":"2022-03-19T10:13:18","guid":{"rendered":"https:\/\/staging.brightwhiz.com\/?post_type=topic&p=66"},"modified":"2022-03-19T10:13:19","modified_gmt":"2022-03-19T10:13:19","slug":"html-attributes-reference","status":"publish","type":"topic","link":"http:\/\/local.tutorials\/topic\/html-attributes-reference\/","title":{"rendered":"HTML – Attributes Reference"},"content":{"rendered":"\n

These are the HTML attributes that are standard and associated with all the visual HTML tags. These attributes are listed with a brief description.<\/p>\n\n\n\n

Global HTML Attributes<\/h2>\n\n\n\n

These attributes are not valid in the base, head, HTML, meta, param, script, style, and title elements.<\/p>\n\n\n\n

Attribute<\/th>HTML5<\/th>Description<\/th><\/tr><\/thead>
accesskey<\/td><\/td>Specifies a shortcut key for an element to be used in place of keyboard.<\/td><\/tr>
class<\/td><\/td>The class of the element.<\/td><\/tr>
contenteditable<\/td>Yes<\/td>Boolean attribute to specify whether the element is editable or not.<\/td><\/tr>
contextmenu<\/td>Yes<\/td>Specifies a context menu for an element.<\/td><\/tr>
data-*<\/td>Yes<\/td>Used to store custom data associated with the element.<\/td><\/tr>
draggable<\/td>Yes<\/td>Boolean attribute to specify whether the element can be dragged or not.<\/td><\/tr>
dropzone<\/td>Yes<\/td>Specifies whether the dragged data is copied, moved, or linked when dropped.<\/td><\/tr>
hidden<\/td>Yes<\/td>Specifies whether the element should be visible or not.<\/td><\/tr>
id<\/td>Yes<\/td>A unique id for the element.<\/td><\/tr>
spellcheck<\/td>Yes<\/td>Specifies if the element must have its spelling or grammar checked.<\/td><\/tr>
style<\/td><\/td>An inline style definition.<\/td><\/tr>
tabindex<\/td><\/td>Specifies the tab order of an element.<\/td><\/tr>
title<\/td><\/td>The text to display in a tooltip.<\/td><\/tr>
translate<\/td>Yes<\/td>The boolean attribute specifies whether the content of an element should be translated or not.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

Language Attributes<\/h2>\n\n\n\n

The lang attribute indicates the language being used for the enclosed content. The language is identified using the ISO RFC 1766<\/a> standard language abbreviations as described in the standard.<\/p>\n\n\n\n

These attributes are not valid in the base, br, frame, frameset, hr, iframe, param, and script elements.<\/p>\n\n\n\n

Attribute<\/th>Value<\/th>Description<\/th><\/tr><\/thead>
dir<\/td>ltr | rtl<\/td>Sets the text direction.<\/td><\/tr>
lang<\/td>language_code<\/td>Sets the language code.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

These are the HTML attributes that are standard and associated with all the visual HTML tags. These attributes are listed with a brief description. Global HTML Attributes These attributes are not valid in the base, head, HTML, meta, param, script, style, and title elements. Attribute HTML5 Description accesskey Specifies a shortcut key for an element […]<\/p>\n","protected":false},"featured_media":43,"comment_status":"open","ping_status":"closed","template":"","meta":[],"categories":[2],"tags":[],"subject":[7,9],"yoast_head":"\nHTML - Attributes Reference<\/title>\n<meta name=\"description\" content=\"These are the HTML attributes which are standard with all the visual HTML tags. These attributes are listed with a brief descriptions\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.tutorials\/topic\/html-attributes-reference\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTML - Attributes Reference\" \/>\n<meta property=\"og:description\" content=\"These are the HTML attributes which are standard with all the visual HTML tags. These attributes are listed with a brief descriptions\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.tutorials\/topic\/html-attributes-reference\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com Tutorials and Courses\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-19T10:13:19+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/local.tutorials\/wp-content\/uploads\/2022\/03\/tutorial-html5.png\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.tutorials\/topic\/html-attributes-reference\/\",\"url\":\"http:\/\/local.tutorials\/topic\/html-attributes-reference\/\",\"name\":\"HTML - Attributes Reference\",\"isPartOf\":{\"@id\":\"http:\/\/local.tutorials\/#website\"},\"datePublished\":\"2022-03-19T10:13:18+00:00\",\"dateModified\":\"2022-03-19T10:13:19+00:00\",\"description\":\"These are the HTML attributes which are standard with all the visual HTML tags. These attributes are listed with a brief descriptions\",\"breadcrumb\":{\"@id\":\"http:\/\/local.tutorials\/topic\/html-attributes-reference\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.tutorials\/topic\/html-attributes-reference\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.tutorials\/topic\/html-attributes-reference\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.tutorials\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"http:\/\/local.tutorials\/topic\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"HTML – Attributes Reference\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.tutorials\/#website\",\"url\":\"http:\/\/local.tutorials\/\",\"name\":\"Brightwhiz.com Tutorials and Courses\",\"description\":\"\",\"publisher\":{\"@id\":\"http:\/\/local.tutorials\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.tutorials\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.tutorials\/#organization\",\"name\":\"Brightwhiz.com\",\"url\":\"http:\/\/local.tutorials\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.tutorials\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/staging.brightwhiz.com\/wp-content\/uploads\/2022\/03\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"https:\/\/staging.brightwhiz.com\/wp-content\/uploads\/2022\/03\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz.com\"},\"image\":{\"@id\":\"http:\/\/local.tutorials\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\",\"https:\/\/twitter.com\/brightwhizmag\",\"https:\/\/www.instagram.com\/glamorglaze\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/c\/Sobbayi\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HTML - Attributes Reference","description":"These are the HTML attributes which are standard with all the visual HTML tags. These attributes are listed with a brief descriptions","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":"http:\/\/local.tutorials\/topic\/html-attributes-reference\/","og_locale":"en_US","og_type":"article","og_title":"HTML - Attributes Reference","og_description":"These are the HTML attributes which are standard with all the visual HTML tags. These attributes are listed with a brief descriptions","og_url":"http:\/\/local.tutorials\/topic\/html-attributes-reference\/","og_site_name":"Brightwhiz.com Tutorials and Courses","article_publisher":"https:\/\/www.facebook.com\/brightwhiz","article_modified_time":"2022-03-19T10:13:19+00:00","og_image":[{"width":640,"height":360,"url":"http:\/\/local.tutorials\/wp-content\/uploads\/2022\/03\/tutorial-html5.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@brightwhizmag","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/local.tutorials\/topic\/html-attributes-reference\/","url":"http:\/\/local.tutorials\/topic\/html-attributes-reference\/","name":"HTML - Attributes Reference","isPartOf":{"@id":"http:\/\/local.tutorials\/#website"},"datePublished":"2022-03-19T10:13:18+00:00","dateModified":"2022-03-19T10:13:19+00:00","description":"These are the HTML attributes which are standard with all the visual HTML tags. These attributes are listed with a brief descriptions","breadcrumb":{"@id":"http:\/\/local.tutorials\/topic\/html-attributes-reference\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.tutorials\/topic\/html-attributes-reference\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/local.tutorials\/topic\/html-attributes-reference\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.tutorials\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"http:\/\/local.tutorials\/topic\/"},{"@type":"ListItem","position":3,"name":"HTML – Attributes Reference"}]},{"@type":"WebSite","@id":"http:\/\/local.tutorials\/#website","url":"http:\/\/local.tutorials\/","name":"Brightwhiz.com Tutorials and Courses","description":"","publisher":{"@id":"http:\/\/local.tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.tutorials\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.tutorials\/#organization","name":"Brightwhiz.com","url":"http:\/\/local.tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/staging.brightwhiz.com\/wp-content\/uploads\/2022\/03\/brightwhiz-com-logo-orange.png","contentUrl":"https:\/\/staging.brightwhiz.com\/wp-content\/uploads\/2022\/03\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz.com"},"image":{"@id":"http:\/\/local.tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz","https:\/\/twitter.com\/brightwhizmag","https:\/\/www.instagram.com\/glamorglaze\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/c\/Sobbayi"]}]}},"_links":{"self":[{"href":"http:\/\/local.tutorials\/wp-json\/wp\/v2\/topic\/66"}],"collection":[{"href":"http:\/\/local.tutorials\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"http:\/\/local.tutorials\/wp-json\/wp\/v2\/types\/topic"}],"replies":[{"embeddable":true,"href":"http:\/\/local.tutorials\/wp-json\/wp\/v2\/comments?post=66"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/local.tutorials\/wp-json\/wp\/v2\/media\/43"}],"wp:attachment":[{"href":"http:\/\/local.tutorials\/wp-json\/wp\/v2\/media?parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.tutorials\/wp-json\/wp\/v2\/categories?post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.tutorials\/wp-json\/wp\/v2\/tags?post=66"},{"taxonomy":"subject","embeddable":true,"href":"http:\/\/local.tutorials\/wp-json\/wp\/v2\/subject?post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}