id in css
#id{
color:red;
}
css id
<style>
#your_id{
color: blue;
font-size: 24px;
}
</style>
<h1 id="your_id">Example text</h1>
css how to style id
/*put a # infront of the id*/
/*<section id="example"></section>*/
#example{
margin: auto;
}
how to call an id in css
<style>
#selector {
color: red;
}
/* # is id selector */
</style>
<div id="selector">
<p>This is an id</p>
</div>
css id
#id {
css declarations;
}
Demo
div id css
<p class="haut">
<a href="#haut">Haut de page</a>
</p>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us