HTML class attributes - HTML and XHTML attributes - Guide to HTML, XHTML Guide

Change Font Size: / / Directory List

HTML class attributes

Class attributes - for a pattern of links and HTML elements
  • Trackback Address: http://www.nt22.com/xhtml-html/attribute_class/

Example

  <div Class = "nt221" /> connect div tags and nt221 style <div> <div class = "nt2212px nt22black nt22bold" /> use of a number of separate spaces connected div style labels <div> 
  Div.nt2212px (font-size: 12px;) div.nt22black (color: black;) div.nt22bold (font-weight: bold;) 

Can be used more than classname, but separate spaces to be used.

Extended reading

Reference