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:

AttributeDefination
AccesskeySpecifies a shortcut key to activate/focus an element
ClassSpecifies one or more classnames for an element (refers to a class in a style sheet)
ContenteditableSpecifies whether the content of an element is editable or not
Data-*Used to store custom data private to the page or application
DirSpecifies the text direction for the content in an element
DraggableSpecifies whether an element is draggable or not
DropzoneSpecifies whether the dragged data is copied, moved, or linked, when dropped
DiddenSpecifies that an element is not yet, or is no longer, relevant
IdSpecifies a unique id for an element
LangSpecifies the language of the element's content
SpellcheckSpecifies whether the element is to have its spelling and grammar checked or not
StyleSpecifies an inline CSS style for an element
TabindexSpecifies the tabbing order of an element
TitleSpecifies extra information about an element
TranslateSpecifies whether the content of an element should be translated or not

Comments

Popular posts from this blog

HTML Character Sets

HTML Declaration

HTML Canvas Tutorial