Check out example codes for "div id css". It will help you in understanding the concepts better.

Code Example 1

/*put a # infront of the id*/
/*<section id="example"></section>*/
	margin: auto;

Code Example 2

<p class="haut">
<a href="#haut">Haut de page</a>

Code Example 3

  #selector {
  color: red;
/* # is id selector */

<div id="selector">
<p>This is an id</p>

Learn ReactJs, React Native from