<title>CSS Style Class in HTML Page</title>
<h1>Example of HTML Class to Apply CSS Style in a Webpage</h1>
<h3>CSS style element added in the head element. Color and font size of the following lines have been changed using HTML class as selector.</h3>
<p class="test">You can use HTML class as selector in <style> element within head element to apply CSS style.</p>
<p>.test{"color: red; font-size: 18px;"} is used in the style element within the head element to apply CSS style to all HTML elements with class="test" attribute in the document.</p>