0
Pls how do I apply my ID selector in html. I've tried but it didn't show my style
ID selector
6 Answers
+ 3
Please show your codeđ
for example
<div id="id">hi</div>
#id {
css here
}
+ 2
visph oopsđ
+ 1
Sofi {DM Closedâđ«} html is case insensitive ;)
0
<tag id="my-id">some content</tag>
in css:
#my-id {
/* styles to be applied to 'my-id' element */
}
- 1
Html
<div id="intro">
<P>bla...</p>
<P>bla....</p>
</div>
Css
#intro{
Color:pink;
Background-color:grey;
}
- 1
The real code the html is tagged I just used this as an instance