1.

Which one is correct syntax?(a) (b) (c) (d) I have been asked this question during an interview.The doubt is from HTML5: Beyond Markup topic in chapter HTML Markup, Forms, Video, Audio & Other Multimedia of HTML

Answer»

The CORRECT choice is (b)

ID=”td”>

The explanation is:

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.



Discussion

No Comment Found

Related InterviewSolutions