Posts

Showing posts with the label HTML Global Attributes

Basic Elements - Learn HTML - Free Interactive HTML Tutorial

Image
Basic Elements The use of basic HTML Tags.. Coding.... <!DOCTYPE html> <html> <head> <title>Example page</title> </head> <body> <h1>Heading 1</h1> <h2>Heading 1</h2> <h3>Heading 1</h3> <h4>Heading 1</h4> <h5>Heading 1</h5> <h6>Heading 1</h6> <p>This is peragraph.</p> <p>Horizontal Line Below</p> <hr /> </body> </html> Output Of Above Code... Output

HTML Global Attributes

HTML  Global Attributes: Attribute Defination 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 Dropzone Specifies whether the dragged data is copied, moved, or linked, when dropped Didden 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 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 Sp...