html assign css class of a code example
Example: Put a class in css
<html>
<head>
<style>
/* Make sure to use a full stop to instead only focus on the classname that is in your html page */
.class {
background-color: #eeeeee;
}
</style>
<head>
<body>
<div class="class">
<p>hi</p>
</div>
</body>
</html>