+ 2
Did Id attribute dont support in <p> tag ?
See the following code for details :- https://code.sololearn.com/WiNljYqvGaBi/?ref=app
3 Answers
+ 6
Well there are a few problems here:-
â
id is meant to be unique, that means it should be assigned to one and only one element at any time
â
id naming convention is similar to most programming languages and we usually start with a letter
More information of id can be found at:-
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
and you'll be fine after fixing these issues đ
+ 2
Zephyr Koo Thank you so much I dont know this it helps a lot đ
+ 2
So problem is here is that it must be in capital letter if it in number it will not work