+ 1
How i write id tag
when I learning in app I have separate html CSS and js section to get output but in computer we can not have that sections so how can I use id tag
2 ответов
+ 4
<p id="para">
.
.
.
</p>
if you wanna do anything with id's just use its selector with thm and that is "#"
#para{
property:value;
}
$(#para).blahblah
+ 4
Id is not a tag it is an attribute