how to call an id in css
snippet in html

how to call an id in css

user3490

<style>
  #selector {
  color: red;
}
/* # is id selector */
</style>


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

css how to style id

user8595

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