'class' Example : class « Object « HTML / CSS






'class' Example

    
<html>
<head>
<style>.myclass { font-family:times new roman; 
                  font-weight:bold; 
                  font-size:16px;
                  color:red; } 
</style>
</head>
<body>
<p class="myclass">style in myclass</p>
</body>
</html>
    
      
      








Related examples in the same category