Html miscellaneous
- Which of the following applications/software can be used to create a favicon?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Favicon means favorite icon. To create a favicon, we can use any graphics editor program in the market such as Adobe Photoshop or Fireworks.
- Which method takes a string that contains an unordered set of unique space-separated tokens that are case-sensitive, representing types?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
When called, the method must return a live NodeList object containing all the elements in the document, in tree order, that are each top-level microdata items whose types include all the types specified in the method’s argument, having obtained the types by splitting the string on spaces.
- Which of the following is true if the property value of a name-value pair added by an element with an itemprop attribute is a data element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The “itemprop” attribute is a global attribute which adds properties to item. When the property value of a name-value pair added by an element with an itemprop attribute which is a data element then the value is the value of the element’s value attribute if it has one, or the empty string otherwise.
- If the element has an itemscope attribute, it returns an __________ object with all the element’s properties.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
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.
- The ___________ of an item is the value of its element’s itemid attribute.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The global identifier of an item is the value of its element’s itemid attribute, if it has one, resolved relative to the element on which the attribute is specified. If the itemid attribute is missing or if resolving it fails, it is said to have no global identifier. The “typed item” creates new item.