0% found this document useful (0 votes)
325 views

HTML Global Attributes

The document discusses HTML global attributes that can be used with all HTML elements. It lists common global attributes like class, id, style, and title. It provides a brief description of each attribute and what it specifies, such as class specifying class names for an element and style specifying inline CSS styles.

Uploaded by

Mohibul Hasan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
325 views

HTML Global Attributes

The document discusses HTML global attributes that can be used with all HTML elements. It lists common global attributes like class, id, style, and title. It provides a brief description of each attribute and what it specifies, such as class specifying class names for an element and style specifying inline CSS styles.

Uploaded by

Mohibul Hasan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

9/14/2020 HTML Global attributes

w3schools.com LOG IN

  HTML CSS MORE  EXERCISES   

Learn How To Create CSS Alert Buttons


Success Info Warning Danger Default

HTML Global Attributes


❮ Previous Next ❯

HTML Global Attributes


The global attributes are attributes that can be used with all HTML elements.

Attribute Description

accesskey Specifies a shortcut key to activate/focus an element

class Specifies one or more classnames for an element (refers to a


class in a style sheet)

contenteditable Specifies whether the content of an element is editable or not

data-* Used to store custom data private to the page or application

dir Specifies the text direction for the content in an element

draggable Specifies whether an element is draggable or not

hidden Specifies that an element is not yet, or is no longer, relevant

id Specifies a unique id for an element

lang Specifies the language of the element's content

spellcheck Specifies whether the element is to have its spelling and


grammar checked or not

https://www.w3schools.com/tags/ref_standardattributes.asp 1/5
9/14/2020 HTML Global attributes

style Specifies an inline CSS style for an element

tabindex Specifies the tabbing order of an element

title Specifies extra information about an element

translate Specifies whether the content of an element should be


translated or not

❮ Previous Next ❯

COLOR PICKER

SHOP

HOW TO

Tabs
Dropdowns
Accordions
Side Navigation
Top Navigation
Modal Boxes
Progress Bars
Parallax
Login Form
HTML Includes
Google Maps
Range Sliders

https://www.w3schools.com/tags/ref_standardattributes.asp 2/5

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy