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.
Related Posts
Which attribute defines the file-select field?
Which attribute is used for activation of JavaScript?
How does the color attribute work?
Which of the following is a new input attribute introduce by HTML5?
What is the default type of ‘type’ attribute of <input> element?
Which browser supports mozCurrentSampleOffset?
What can not be done by controls attribute?
Join The Discussion