css style using html div id code example
Example 1: css how to style id
/*put a # infront of the id*/
/*<section id="example"></section>*/
#example{
margin: auto;
}
Example 2: div id css
<p class="haut">
<a href="#haut">Haut de page</a>
</p>
/*put a # infront of the id*/
/*<section id="example"></section>*/
#example{
margin: auto;
}
<p class="haut">
<a href="#haut">Haut de page</a>
</p>