-
Which one is correct syntax?
-
- <p id=”%td”>
- <p id=”#td”>
- <p id=”1td”>
- <p id=”td”>
- None of these
Correct Option: D
<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.