HTML MCQ (Multiple Choice Questions) - SchoolingAxis

HTML MCQ (Multiple Choice Questions)

 Que- __________ is an HTML specification used to add more information to HTML tags. 

a. Macrodata 

b. Microdata 

c. Minidata 

d. Modifydata 


Answer- Microdata


Que- The microdata model consists of groups of name-value pairs known as ________ 

a. Item 

b. Property 

c. Value 

d. URL 


Answer- Item


Que- Every HTML element may have an ____________ attribute specified. 

a. itemtype 

b. relevant types 

c. itemscope 

d. itemref 


Answer- itemscope


Que- 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 meta element? 

a. The value is the item created by the element 

b. The value is the value of the element’s value attribute, if it has one, or the empty string otherwise 

c. On getting, if the element has a datetime content attribute, the IDL attribute must return that content attribute’s value 

d. The value is the element’s textContent 


Answer- The value is the value of the element’s value attribute, if it has one, or the empty string otherwise


Que- 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 time element? 

a. The value is the element’s datetime value 

b. The value is the value of the element’s content attribute, if any, or the empty string if there is no such attribute 

c. The value is the value of the element’s value attribute, if it has one, or the empty string otherwise 

d. The value is the element’s textContent 


Answer- The value is the element’s datetime value


Que- The ___________ of an item is the value of its element’s itemid attribute. 

a. token 

b. typed item 

c. global identifier 

d. scope 


Answer- global identifier


Que- 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. itemtype 


Answer- dom object


Que- 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? 

a. The value is the value of the element’s value attribute if it has one, or the empty string otherwise 

b. The value is the item created by the element 

c. The value is the element’s datetime value 

d. The value is item’s scope 


Answer- The value is the value of the element’s value attribute if it has one, or the empty string otherwise


Que- Which method takes a string that contains an unordered set of unique space-separated tokens that are case-sensitive, representing types? 

a. document.getItems 

b. element.itemProp 

c. collection.namedItem 

d. object.itemref 


Answer- document.getItems


Que- Which of the following applications/software can be used to create a favicon? 

a. Unity 

b. Adobe Photoshop 

c. Dreamweaver 

d. VLC 


Answer- Adobe Photoshop


Que- By default, iOS adds ____________ effects to icons. 

a. reflective shine 

b. square corners and reflective shine 

c. rounded corners and reflective shine 

d. apple trademark 


Answer- rounded corners and reflective shine


Que- Favicon stands for ______ 

a. Fave icon 

b. Favorite icon 

c. Both Fave icon and Favorite icon 

d. Fav icon 


Answer- Both Fave icon and Favorite icon


Que- Which attribute is used for favicon? 

a. icon 

b. title 

c. rel 

d. head 


Answer- rel


Que- Which image file format is not supported in Firefox? 

a. MNG 

b. PNG 

c. SVG 

d. APNG 


Answer- MNG


Que- The favicon was standardized by the _______ 

a. IANA 

b. W3C 

c. WIPO 

d. EPO 


Answer- W3C


Que- In 2003, the .ico format was registered with the ____________ 

a. IANA 

b. W3C 

c. WIPO 

d. EPO 


Answer- IANA


Que- The recommended basic size for a favicon is ___________ pixels. 

a. 16×16 

b. 26×26 

c. 48×48 

d. both 16×16 and 48×48 


Answer- both 16×16 and 48×48


Que- __________ is the XML equivalent to strict HTML 4.01. 

a. XHTML 1.0 Strict 

b. XHTML 1.0 Frameset 

c. XHTML 1.0 Transitional 

d. XHTML 1.1 Strict 


Answer- XHTML 1.0 Strict


Que- Which of the following statement is true? 

a. Attribute names must be in uppercase 

b. Attribute values must be quoted 

c. Attribute minimization is mandatory 

d. Attribute values should not be quoted 


Answer- Attribute values must be quoted


Que- The root element of an XHTML document must be html, and must contain an __________ attribute to associate it with the XHTML namespace. 

a. source 

b. src 

c. xmlns 

d. link 


Answer- xmlns

Previous Post Next Post