Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

HTML Global Attributes

HTML Global Attributes with html tutorial, tags, anchor, img, div, entity, textarea, marquee, p tag, heading tag, h1, h2, table, formatting, attribute, elements, ol, ul, Input Types, block element tag, inline element tag, html tags, phrase tag, head, body, form, lists, symbols etc.

<< Back to HTML

Global Attributes

HTML global attributes are those attributes which are common for all HTML elements. The global attributes are supported by both standard and non-standard element.

The global attributes can be used with all elements, although it may not have any effect on some elements.

Following is the complete list of global attributes with their description:

HereHTML Tags Listrepresent new in HTML5.

Attributes value Description
accesskey character It is used to generate keyboard shortcuts for the current element.
class classname It is used to provide the class name for the current element. It is mainly used with the stylesheet.
ContenteditableHTML Tags List true
It determines whether the content within an element is editable or not.
contextmenu menu_id It defines the id for the <menu> element which is used as a context menu (a menu appear on right click) for an element.
data-*HTML Tags List somevalue It is used to store element-specific private data which can be accessed by Javascript.
dir rtl
It specifies the direction of the content inside the current element.
draggableHTML Tags List true
It specifies whether the content within an element is movable or not using Drag and Drop API.
dropzoneHTML Tags List copy
It specifies the action is taken on the dragged element when it is dropped, ¬¬ such as whether it is copied, moved or linked.
hiddenHTML Tags List It is used to hide the element from view.
id id It specifies a unique id for the element. It can be used with CSS and JavaScript.
lang language_code It specifies the primary language for the content of an element.
style style It is used to apply inline CSS to the current element.
spellcheckHTML Tags List true
It specifies whether the content should be checked for spelling errors or not.
tabindex number It determines the tabbing order of an element.
title text It is used to provide the title, name, or some extra information about the element.
translateHTML Tags List yes
It specifies whether the content of the element should be translated when the page is localized or not.

Related Links:

Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf