call css using id attribute code example
Example 1: css how to style id
/*put a # infront of the id*/
/*<section id="example"></section>*/
#example{
margin: auto;
}
Example 2: html id
<style>
#grepperHeader {
background-color: lightblue;
color: navy;
padding: 40px;
text-align: center;
}
</style>
<h1 id="grepperHeader">grepperHeader</h1>