InterviewSolution
Saved Bookmarks
| 1. |
If the element has an itemscope attribute, it returns an __________ object with all the element’s properties.(a) itemscope(b) dom object(c) collection.namedItem(d) itemtypeThis question was posed to me in an interview for job.Question is taken from Microdata topic in chapter HTML Fundamentals of HTML |
|
Answer» CORRECT answer is (b) DOM OBJECT To elaborate: When an HTML document is loaded into a web browser, it becomes a document object. In web browser, document MODEL represents document as a LOGICAL tree. The “itemscope” attribute which is of boolean type is used to state the scope of metadata. |
|