+ 2

Did Id attribute dont support in <p> tag ?

See the following code for details :- https://code.sololearn.com/WiNljYqvGaBi/?ref=app

23rd Jun 2019, 2:24 PM
Sayyam Jain
Sayyam Jain - avatar
3 Respostas
+ 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 😉
23rd Jun 2019, 2:30 PM
Zephyr Koo
Zephyr Koo - avatar
+ 2
Zephyr Koo Thank you so much I dont know this it helps a lot 😄
23rd Jun 2019, 2:35 PM
Sayyam Jain
Sayyam Jain - avatar
+ 2
So problem is here is that it must be in capital letter if it in number it will not work
23rd Jun 2019, 2:46 PM
Sayyam Jain
Sayyam Jain - avatar