25. Standard Attributes

HTML Standard Attributes

Core Attributes
Language Attributes
Keyboard Attributes

core and language attributes that are  standard for all tags(with a few exceptions).

Core Attributes

Not valid in base,head,html,meta,param,script,tyle and title

Attribute Value Description
class class_rule or style_rule The classof the element
id id_name A unique id for the element
style style_definition An inline style definition
title tooltip_text A text to display in a tool tip

Language Attributes

Not valid in base,br,frame,frameset,ht,iframe,param, and script elements

Attributes Value Description
dir ltr|rtl sets the text direction
lang language_code sets the language code

keyboard Attributes

Attribute Value Description
accesskey character sets a keyboard shorcut to access an element
tabindex number sets the tab order of an element

No comments:

My Favorite Books

  • C and Data Structures by Ashok N. kamthane
  • Web Technologies by A. A. Puntambekar
  • Learn HTML and CSS with W3Schools
  • Learn JavaScript and Ajax with W3Schools
  • HTML5 Black Book: Covers Css3, Javascript,XML, XHTML, Ajax, PHP And Jquery
  • HTML5 Application Development Fundamentals: MTA Exam 98-375
  • .NET 4.0 Programming 6-In-1, Black Book
  • SQL Server 2008 R2 Black Book
  • Asp.net 4.0 Projects Covers: net 3.5 And .net 4.0 Codes, Black Book
  • UNIX Shell Programming 1 Edition by Yashavant Kanetkar
  • UNIX and Shell Programming 1 Edition by Richard F. Gilberg, Behrouz A. Forouzan
  • Computer Networks by Andrew S. Tanenbaum
  • Multiple Choice questions in computer science by Timothy J Williams