w3schools html and css code example
Example 1: how to link css to html
<link rel="stylesheet" href="file_name.css">
Example 2: how to use css
<link rel="stylesheet" href="stylesheet.css">
<div class="mydiv"></div>
<style>
.mydiv {
background-color: /*Color*/;
color: /*Another color*/;
}
</style>
Example 3: html inline style
<element style="css">