'class' Syntax and Note : class « HTML Attributes Reference « HTML CSS Reference






'class' Syntax and Note

Note:
    
The styles can be define in a custom style sheet or in a <style> element tag.
    
Syntax:
    
<HTML>
<head><Title>Example For class</Title></head>
<BODY>
<element class="className"> . . . </element>
<element class="class1 class2 class3 . . ."> . . . </element>
</BODY>
</HTML>  
    

      
      








Related examples in the same category

1.'class' Example
2.class is applied to