• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Core Attributes

Prior to HTML 4.0, there were few attributes that could be used consistently for all the HTML tags. HTML 4.0 changed this, defining a set of 16 core attributes that can be applied to almost all the elements in both HTML 4.01 and XHTML 1.0. For brevity, we list these core attributes in this section and spare you the redundancies in the table that follows:

class= name

Specify a style class controlling the appearance of the tag’s contents

dir= dir


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint