Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which one is correct syntax?

a) <p id=”1td”>
b) <p id=”td”>
c) <p id=”%td”>
d) <p id=”#td”>

Answer: b
Explanation: <p id=”td”> is the correct syntax for id type declaration. Id attribute’s value should start with a letter or an underscore. We cannot use any number or other character for defining name of the id.

Join The Discussion