InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is the format for character entity reference?(a) &name;(b) $name;(c) %name;(d) !name;This question was addressed to me in an online interview.The origin of the question is HTML 4.x and XHTML 1.x Character Entities in section HTML and XHTML Fundamentals of HTML |
|
Answer» CORRECT answer is (a) &NAME; Easy explanation: The format for character entity REFERENCE is &name; name is case-sensitive alphanumeric string and SEMICOLON is necessary. |
|
| 2. |
Which parameter is commonly used for size attribute?(a) centimeter(b) pixels(c) inch(d) millimeterI have been asked this question by my college professor while I was bunking the class.My question is based upon Common HTML5 Attributes Reference in portion HTML and XHTML Fundamentals of HTML |
|
Answer» The correct answer is (b) pixels |
|
| 3. |
Which entity is not defined in XML?(a) quot(b) apos(c) gt(d) copyThis question was posed to me in an interview.I'm obligated to ask this question of HTML 4.x and XHTML 1.x Character Entities topic in portion HTML and XHTML Fundamentals of HTML |
|
Answer» The CORRECT option is (d) copy |
|
| 4. |
For entity which term is used by XML?(a) character entity reference(b) numeric character reference(c) predefined entities(d) character and numeric entity referenceI had been asked this question during an interview.Enquiry is from HTML 4.x and XHTML 1.x Character Entities in chapter HTML and XHTML Fundamentals of HTML |
|
Answer» Correct answer is (c) predefined entities |
|
| 5. |
Which entity is for inverted question mark?(a) ¿(b) &oline(c) &permil(d) &primeThe question was asked during an interview for a job.I'd like to ask this question from HTML 4.x and XHTML 1.x Character Entities in section HTML and XHTML Fundamentals of HTML |
|
Answer» Correct answer is (a) ¿ |
|
| 6. |
Which of the following entity is for shape?(a) &uarr(b) &loz(c) &rarr(d) &larrI have been asked this question in a job interview.My query is from HTML 4.x and XHTML 1.x Character Entities in division HTML and XHTML Fundamentals of HTML |
|
Answer» CORRECT choice is (b) &loz The explanation is: &loz is for the SHAPE LOZENGE, &UARR is for upward arrow, &rarr for RIGHTWARDS arrow, &larr for leftwards double arrow. The number for &uarr is ↑, for &loz is ◊, for &rarr is →, for &larr is ←. |
|
| 7. |
Which of the following is the attribute that is used to set a global identifier for a microdata item?(a) key(b) id(c) itemclass(d) itemidThis question was posed to me during an online exam.This interesting question is from HTML and XHTML Element Reference topic in section HTML and XHTML Fundamentals of HTML |
|
Answer» RIGHT option is (d) itemid To explain I would say: The unique id for an element in html is specified by id attribute. Itemmid ALLOWS a vocabulary to DEFINE a global identifier for a microdata item, for example an ISBN number on a BOOK. Use itemid on the same element as the item’s itemscope and itemtype attributes. |
|
| 8. |
For latin letter u with acute which entity is used?(a) û(b) ù(c) û(d) úI had been asked this question in quiz.My query is from HTML 4.x and XHTML 1.x Character Entities in portion HTML and XHTML Fundamentals of HTML |
|
Answer» Right OPTION is (d) ú |
|
| 9. |
What is the correct format of numeric character reference?(a) &nnnn;(b) &#nnnn;(c) #nnnn;(d) $*nnnn;I got this question in unit test.I would like to ask this question from HTML 4.x and XHTML 1.x Character Entities topic in division HTML and XHTML Fundamentals of HTML |
|
Answer» Right answer is (b) nnnn; |
|
| 10. |
What is the use of spellcheck attribute?(a) Checks spelling(b) Indicates if spell checking is allowed(c) Checks spelling and corrects it(d) Checks spelling of a given particular text onlyI got this question in exam.Origin of the question is Common HTML5 Attributes Reference in chapter HTML and XHTML Fundamentals of HTML |
|
Answer» The correct CHOICE is (b) INDICATES if spell CHECKING is allowed |
|
| 11. |
What does wrap attribute denote?(a) Whether the text is in bold(b) Whether the text is wrapped(c) Whether the text is in italics(d) Whether the text is highlightedThe question was asked in an interview for internship.I'd like to ask this question from Common HTML5 Attributes Reference in section HTML and XHTML Fundamentals of HTML |
|
Answer» Right answer is (b) WHETHER the text is wrapped |
|
| 12. |
Which of the following is not character entity?(a) æ(b) å(c) &image(d) êThis question was posed to me during an interview for a job.This is a very interesting question from HTML 4.x and XHTML 1.x Character Entities topic in portion HTML and XHTML Fundamentals of HTML |
|
Answer» Correct CHOICE is (c) &image |
|
| 13. |
Which entity is not for both HTML and XML?(a) apos(b) It?(c) cent(d) quotThe question was asked in an interview.My enquiry is from HTML 4.x and XHTML 1.x Character Entities in portion HTML and XHTML Fundamentals of HTML |
|
Answer» Correct choice is (C) cent |
|
| 14. |
The __________ attribute sets the text direction as related to the lang attribute.(a) lang(b) sub(c) dir(d) dsThe question was posed to me in semester exam.My question is from HTML and XHTML Element Reference in portion HTML and XHTML Fundamentals of HTML |
|
Answer» Right choice is (c) dir |
|
| 15. |
Use of checked attribute is ____________(a) Whether on page load element should be checked(b) Whether on page load all form element should be checked(c) Whether on page load all list element should be checked(d) Whether on page load all multimedia elements should be checkedI got this question in homework.My doubt is from Common HTML5 Attributes Reference topic in chapter HTML and XHTML Fundamentals of HTML |
|
Answer» Right option is (a) Whether on PAGE load ELEMENT should be checked |
|
| 16. |
cols attribute is use with ___________(a) (b) (c) (d) This question was addressed to me during an online exam.Query is from Common HTML5 Attributes Reference topic in portion HTML and XHTML Fundamentals of HTML |
||
|
Answer» Right answer is (c) |
|||
| 17. |
Which of the following is the attribute that indicates the name of the data source object that supplies the data that is bound to this element?(a) dataFormatAs(b) datafld(c) disabled(d) datasrcThe question was posed to me in an online interview.I would like to ask this question from HTML and XHTML Element Reference in portion HTML and XHTML Fundamentals of HTML |
|
Answer» The correct option is (d) DATASRC |
|
| 18. |
Which entity is for the arrow?(a) &crarr(b) &zeta(c) &upsih(d) &oeligThis question was posed to me during an interview for a job.My doubt is from HTML 4.x and XHTML 1.x Character Entities in portion HTML and XHTML Fundamentals of HTML |
|
Answer» Correct option is (a) &crarr |
|
| 19. |
Which of the following is the attribute that is used to add a name/value pair to a microdata item?(a) itemscope(b) itemref(c) itemprop(d) itemidThe question was posed to me during an online interview.Enquiry is from HTML and XHTML Element Reference topic in division HTML and XHTML Fundamentals of HTML |
|
Answer» Right choice is (C) itemprop |
|
| 20. |
With which element width attribute is not define?(a) (b) (c) (d) This question was addressed to me by my college professor while I was bunking the class.Question is from Common HTML5 Attributes Reference topic in section HTML and XHTML Fundamentals of HTML |
|
Answer» Correct OPTION is (d) |
|
| 21. |
Which of the following defines a default value on page load?(a) (b) (c) (d) I got this question in an interview.The question is from Common HTML5 Attributes Reference topic in chapter HTML and XHTML Fundamentals of HTML |
|
Answer» The correct choice is (c) |
|
| 22. |
For trade mark sign which entity is used?(a) ­(b) &trade(c) §(d) &realThis question was posed to me at a job interview.I'm obligated to ask this question of HTML 4.x and XHTML 1.x Character Entities topic in chapter HTML and XHTML Fundamentals of HTML |
|
Answer» The correct choice is (b) &trade |
|
| 23. |
The _____________ attribute specifies an inline style associated with an element, which determines the rendering of the affected element.(a) dir(b) style(c) class(d) articleThis question was addressed to me in a national level competition.Asked question is from HTML and XHTML Element Reference in section HTML and XHTML Fundamentals of HTML |
|
Answer» Correct CHOICE is (b) style |
|
| 24. |
How title attribute works?(a) Displays text when hovering over the element(b) Focus text when hovering over the element(c) Highlight text when hovering over the element(d) Zoom in and zoom out text when hovering over the elementI have been asked this question in semester exam.My query is from Common HTML5 Attributes Reference topic in division HTML and XHTML Fundamentals of HTML |
|
Answer» CORRECT option is (a) DISPLAYS TEXT when hovering over the element The explanation: the TITLE is a global ATTRIBUTE that displays text in a tooltip when hovered over the element. Syntax is: |
|
| 25. |
How does download attribute work?(a) An indication that hyperlink is to be used for downloading(b) Directly downloads as per the need of the user(c) Gives various source links to download(d) List the topics which one can download from a certain pageThis question was addressed to me in an online quiz.My enquiry is from Common HTML5 Attributes Reference topic in division HTML and XHTML Fundamentals of HTML |
|
Answer» Correct choice is (a) An INDICATION that HYPERLINK is to be USED for downloading |
|
| 26. |
For upward double arrow which entity is used?(a) &uArr(b) &uarr(c) &rarr(d) &darrThis question was addressed to me during an online exam.My enquiry is from HTML 4.x and XHTML 1.x Character Entities topic in division HTML and XHTML Fundamentals of HTML |
|
Answer» RIGHT answer is (a) &uArr The EXPLANATION: &uArr is used for an UPWARDS double arrow, &uarr is for upwards arrow, &rarr for RIGHTWARDS arrow, &darr for downwards arrow. |
|
| 27. |
Which of the following is the attribute that specifies additional horizontal space, in pixels, to be reserved on either side of an embedded item like an iframe, applet, image, and so on?(a) height(b) hspace(c) hidefocus(d) datasrcThe question was asked during an interview.This key question is from HTML and XHTML Element Reference in portion HTML and XHTML Fundamentals of HTML |
|
Answer» Right choice is (B) hspace |
|
| 28. |
Which entity is not for punctuation character?(a) "(b) ¶(c) ¬(d) ´I got this question by my school teacher while I was bunking the class.This interesting question is from HTML 4.x and XHTML 1.x Character Entities in portion HTML and XHTML Fundamentals of HTML |
|
Answer» The correct choice is (d) &ACUTE |
|
| 29. |
Which attribute indicates a descending order of displaying a list?(a) reversed(b) forward(c) straight(d) circularI have been asked this question in an interview.My question is based upon Common HTML5 Attributes Reference topic in section HTML and XHTML Fundamentals of HTML |
|
Answer» RIGHT answer is (a) reversed Explanation: Reverse ATTRIBUTE commonly USE with |
|
| 30. |
datetime attribute is not related with ______________(a) (b) (c) (d) This question was posed to me in an international level competition.Query is from Common HTML5 Attributes Reference in section HTML and XHTML Fundamentals of HTML |
|
Answer» The correct choice is (d) |
|
| 31. |
Which of the following is the attribute that specifies the column name from the data source object that supplies the bound data?(a) dataFormatAs(b) datafld(c) disabled(d) datasrcThe question was asked in an online quiz.This intriguing question originated from HTML and XHTML Element Reference in chapter HTML and XHTML Fundamentals of HTML |
|
Answer» The correct answer is (b) datafld |
|
| 32. |
Which attribute is used to provide an advisory text about an element or its contents?(a) tooltip(b) dir(c) title(d) headI got this question during an interview for a job.The origin of the question is HTML and XHTML Element Reference in chapter HTML and XHTML Fundamentals of HTML |
|
Answer» Correct answer is (C) title |
|
| 33. |
Which entity is not for shape?(a) &harr(b) &clubs(c) &hearts(d) &spadesThis question was addressed to me in examination.The above asked question is from HTML 4.x and XHTML 1.x Character Entities topic in division HTML and XHTML Fundamentals of HTML |
|
Answer» Right CHOICE is (a) &harr |
|
| 34. |
srclang attribute is used with the element ____________(a) (b) (c) (d) The question was posed to me by my school principal while I was bunking the class.This intriguing question originated from Common HTML5 Attributes Reference in division HTML and XHTML Fundamentals of HTML |
|
Answer» Correct CHOICE is (a) |
|
| 35. |
Which attribute is not for overriding the actions?(a) Formaction(b) Style(c) Tabindex(d) SlotThis question was addressed to me in exam.Asked question is from Common HTML5 Attributes Reference topic in portion HTML and XHTML Fundamentals of HTML |
|
Answer» The CORRECT choice is (d) Slot |
|
| 36. |
The accesskey attribute specifies a keyboard navigation accelerator for the element.(a) True(b) FalseThe question was posed to me in exam.Asked question is from HTML and XHTML Element Reference in portion HTML and XHTML Fundamentals of HTML |
|
Answer» The CORRECT answer is (a) True |
|
| 37. |
loop attribute is not used with _____________(a) (b) (c) (d) This question was posed to me in an interview for job.This key question is from Common HTML5 Attributes Reference topic in chapter HTML and XHTML Fundamentals of HTML |
|
Answer» Right option is (d) |
|
| 38. |
Syntax of entity declaration is ___________(a) (b) (c) (d) The question was asked during an interview.Question is taken from HTML 4.x and XHTML 1.x Character Entities topic in chapter HTML and XHTML Fundamentals of HTML |
|
Answer» Right answer is (a) <!entity name “value”> |
|
| 39. |
The major difference between minlength and min attribute is ______(a) ‘minlength’ is for the minimum number of characters and ‘min’ is for the minimum value(b) ‘minlength’ is for the minimum value and ‘min’ is for the minimum number of characters(c) ‘minlength’ is for multiple values and ‘min’ is for the single value(d) ‘minlength’ is for single value and ‘minlength’ is for multiple valuesThis question was addressed to me in an online quiz.My query is from Common HTML5 Attributes Reference topic in division HTML and XHTML Fundamentals of HTML |
|
Answer» Correct choice is (a) ‘MINLENGTH’ is for the minimum NUMBER of characters and ‘min’ is for the minimum value |
|
| 40. |
Which attribute specifies a unique alphanumeric identifier to be associated with an element?(a) class(b) id(c) article(d) htmlThe question was posed to me in an online interview.This interesting question is from HTML and XHTML Element Reference in portion HTML and XHTML Fundamentals of HTML |
|
Answer» Right option is (b) ID |
|