HTML MCQ (Multiple Choice Questions) - SchoolingAxis

HTML MCQ (Multiple Choice Questions)

Que- Which entity is for inverted question mark? 

a. &iquest 

b. &oline 

c. &permil 

d. &prime 


Answer- &iquest


Que- For trade mark sign which entity is used? 

a. &shy 

b. &trade 

c. &sect 

d. &real 


Answer- &trade


Que- For latin letter u with acute which entity is used? 

a. &ucirc 

b. &ugrave 

c. &ucirc 

d. &uacute 


Answer- &uacute


Que- For upward double arrow which entity is used? 

a. &uArr 

b. &uarr 

c. &rarr 

d. &darr 


Answer- &uArr


Que- How many standard color names does HTML supports? 

a. 120 

b. 130 

c. 140 

d. 90 


Answer- 140


Que- Which of the following is not set with font-style property? 

a. font-style: normal 

b. font-style: italic 

c. font-style: oblique 

d. font-style: capitalize 


Answer- font-style: capitalize


Que- What should be set with text-align property so that every line has equal width like in magazines and newspapers? 

a. text-align: justify 

b. text-align: none 

c. text-align: bottom 

d. text-align: top 


Answer- text-align: justify


Que- Which of the following is not used with text-decoration property? 

a. overline 

b. underline 

c. line-through 

d. inline 


Answer- inline


Que- Which works similar to <i> element? 

a. <strong> 

b. <em> 

c. <b> 

d. <blockquote> 


Answer- <em>


Que- Which works similar to <b> element? 

a. <strong> 

b. <em> 

c. <i> 

d. <blockquote> 


Answer- <strong>


Que- Which element is used for short quote? 

a. <q> 

b. <blockquote> 

c. <em> 

d. <abbr> 


Answer- <q>


Que- Which element is used for abbreviation or acronym? 

a. <em> 

b. <q> 

c. <abbr> 

d. <blockquote> 


Answer- <abbr>


Que- What is the work of <address> element? 

a. contains contact details for author 

b. contains IP address 

c. contains home address 

d. contains url 


Answer- contains contact details for author


Que- To show deleted text, which element is used? 

a. <ins> 

b. <del> 

c. <em> 

d. <strong> 


Answer- <del>


Que- Which element is used to show inserted element? 

a. <ins> 

b. <del> 

c. <strong> 

d. <em> 


Answer- <ins>


Que- How <bdo> element works? 

a. override text direction 

b. stops writing in the current text direction 

c. only override direction of rtl text 

d. only changes the direction of ltr text 


Answer- override text direction


Que- Which property is similar to C/C++ can be applied to comments? 

a. for loop 

b. while loop 

c. ifelse 

d. switch case 


Answer- ifelse


Que- Which element defines a title of the Work? 

a. <abbr> 

b. <cite> 

c. <address> 

d. <blockquote> 


Answer- <cite>


Que- For smaller text which element is used? 

a. <tiny> 

b. <min> 

c. <small> 

d. <em> 


Answer- <small>


Que- All attribute declarations begin with the keyword ____________ followed by the element name, attribute name, attribute type, and default data information. 

a. XML 

b. SGML 

c. ATTLIST 

d. HTML 


Answer- ATTLIST


Que- The ________ declaration specifies which characters and delimiters may appear in the application. 

a. DTD 

b. SGML 

c. XML 

d. HTML 


Answer- SGML


Que- The __________ defines the syntax of markup constructs and include additional definitions such as character entity references. 

a. Attributes 

b. SGML 

c. Elements 

d. DTD 


Answer- DTD


Que- A/An _________ is essentially a macro that allows a short name to be associated with the replacement text. 

a. Entity 

b. Attribute 

c. Comment 

d. Element 


Answer- Entity


Que- The ___________ keyword begins the declaration of attributes that an element may take. It is followed by the name of the element in question, a list of attribute definitions, and a closing. 

a. DOCTYPE 

b. ATTLIST 

c. DTD 

d. SGML 


Answer- DOCTYPE


Que- The __________ begins with a series of parameter entity definitions. 

a. DTD 

b. SGML 

c. XML 

d. HTML 


Answer- DTD


Que- The ______________ parameter identifies a character encoding, which is a method of converting a sequence of bytes into a sequence of characters. 

a. class 

b. element 

c. charset 

d. attribute 


Answer- charset


Que- Which of the following defines a part of text that might be formatted in a different direction from other text? 

a. <details> 

b. <aside> 

c. <bdi> 

d. <article> 


Answer- <bdi>


Que- Which of the following defines a caption for a figure element? 

a. <figcaption> 

b. <dialog> 

c. <caption> 

d. <figure> 


Answer- <figcaption>


Que- Which of the following defines a command/menu item that the user can invoke from a popup menu? 

a. <menuitem>  

b. <menu>  

c. <nav> 

d. <class> 


Answer- <menuitem> 


Que- Which of the following tag defines the progress of a task? 

a. <meter> 

b. <progress> 

c. <gauge> 

d. <wbr> 


Answer- <progress>


Que- Which of the following defines the result of a calculation? 

a. <output> 

b. <keygen> 

c. <datalist> 

d. <datalist> 


Answer- <output>


Que- Which of the following defines graphic drawing using JavaScript? 

a. <class> 

b. <canvas> 

c. <graphics> 

d. <draw> 


Answer- <canvas>


Que- Which of the following elements in HTML5 defines video or movie content? 

a. <media> 

b. <video> 

c. <movie> 

d. <audio> 


Answer- <video>


Que- Which of the following defines some content aside from the content it is placed in (like a sidebar)? 

a. <aside>  

b. <header> 

c. <sidebar> 

d. <nav> 


Answer- <aside> 


Que- Which of the following defines a visible heading for a details element? 

a. <brief> 

b. <summary> 

c. <mark> 

d. <main> 


Answer- <summary>


Que- Which of the following defines additional details that the user can view or hide? 

a. <details> 

b. <article> 

c. <aside> 

d. <figure> 


Answer- <details>


Que- Which event is fired as the mouse is moving over an element when a drag is occurring? 

a. dragover 

b. dragenter 

c. dragstart 

d. dragleave 


Answer- dragover


Que- The _________ event is fired on the element where the drop occurred at the end of the drag operation. 

a. drag 

b. drop 

c. dragstart 

d. dragenter 


Answer- drop


Que- Which of the following property is common in all drag events? 

a. drag effects 

b. drag data 

c. dataTransfer 

d. dragenter 


Answer- dataTransfer

 

Previous Post Next Post