how to style div ids css 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>