0

Pls how do I apply my ID selector in html. I've tried but it didn't show my style

ID selector

14th Mar 2021, 12:00 PM
sultan Kolapo
sultan Kolapo - avatar
6 Answers
+ 3
Please show your code😁 for example <div id="id">hi</div> #id { css here }
14th Mar 2021, 12:03 PM
ŐŐžÖ†Ő«
+ 2
visph oops😂
14th Mar 2021, 12:43 PM
ŐŐžÖ†Ő«
+ 1
Sofi {DM ClosedâŒđŸš«} html is case insensitive ;)
14th Mar 2021, 12:43 PM
visph
visph - avatar
0
<tag id="my-id">some content</tag> in css: #my-id { /* styles to be applied to 'my-id' element */ }
14th Mar 2021, 12:07 PM
visph
visph - avatar
- 1
Html <div id="intro"> <P>bla...</p> <P>bla....</p> </div> Css #intro{ Color:pink; Background-color:grey; }
14th Mar 2021, 12:21 PM
sultan Kolapo
sultan Kolapo - avatar
- 1
The real code the html is tagged I just used this as an instance
14th Mar 2021, 12:47 PM
sultan Kolapo
sultan Kolapo - avatar