css calling tags code example
Example 1: css how to style a div
/*
<div class="#">
<p>Hello World</p>
</div>
*/
/*put a dot in front of the name from your class*/
.#{
display: block;
margin: auto;
width: 50%;
}
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>