The Class HTML Attribute
The class attribute of an HTML tag is used to connect an element with a style sheet, and specifies the class of element.
The value of the attribute may also be a space-separated list of class names. For example:
<div class="className1 className2 className3"> </div>
An HTML element is an individual component of an HTML document or web page once this has been parsed into the Document Object Model.
No comments:
Post a comment