0
Pls how do I apply my ID selector in html. I've tried but it didn't show my style
ID selector
7 Antworten
+ 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