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 does showPosition() returns?(a) only latitude(b) only longitude(c) both latitude and longitude(d) directionI have been asked this question during an interview.I'd like to ask this question from Geolocation API topic in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» Right choice is (c) both latitude and longitude |
|
| 2. |
Which property is similar to C/C++ can be applied to comments?(a) for loop(b) while loop(c) ifelse(d) switch caseThis question was posed to me in an interview.This key question is from Fonts in HTML topic in section HTML Fonts, Tags and Elements of HTML |
|
Answer» Right choice is (c) ifelse |
|
| 3. |
How many standard color names does HTML supports?(a) 120(b) 130(c) 140(d) 90I had been asked this question in unit test.This interesting question is from Fonts in HTML in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct option is (c) 140 |
|
| 4. |
Which is not the case of invoking for error callback function?(a) user denies to share the information of a location(b) location information is unavailable(c) request timed out(d) when we are using WIFIThe question was asked in an international level competition.My doubt is from Geolocation API in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» Right option is (d) when we are USING WIFI |
|
| 5. |
_____________ in textboxes and selections on web pages is done automatically, so you do not need to handle dragging yourself.(a) Dragging HTML and XML(b) Dragging Text(c) Dragging Files(d) Dragging LinksThe question was asked in semester exam.This key question is from Drag and Drop in division HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct option is (B) Dragging Text |
|
| 6. |
The ________ declaration specifies which characters and delimiters may appear in the application.(a) DTD(b) SGML(c) XML(d) HTMLThe question was posed to me by my college professor while I was bunking the class.The doubt is from Reading a Document Type Definition in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct option is (b) SGML |
|
| 7. |
For smaller text which element is used?(a) (b) (c) (d) The question was posed to me by my school principal while I was bunking the class.My question is based upon Fonts in HTML in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» Right answer is (c) |
|
| 8. |
What is the work of element?(a) contains contact details for author(b) contains IP address(c) contains home address(d) contains urlI got this question in an online interview.I need to ask this question from Fonts in HTML in division HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct ANSWER is (a) contains contact details for author SANFOUNDRY |
|
| 9. |
Which of the following property is used to determine which drag operation was desired?(a) dragend(b) getData(c) dropEffect(d) captureDataThis question was addressed to me in unit test.My query is from Drag and Drop topic in section HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct choice is (c) dropEffect |
|
| 10. |
The __________ begins with a series of parameter entity definitions.(a) DTD(b) SGML(c) XML(d) HTMLI got this question in class test.My question is from Reading a Document Type Definition in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» The correct choice is (a) DTD |
|
| 11. |
How 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 textThe question was asked during an interview.I'd like to ask this question from Fonts in HTML in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» Right ANSWER is (a) override text DIRECTION |
|
| 12. |
Which element is used to show inserted element?(a) (b) (c) (d) This question was addressed to me in quiz.This intriguing question comes from Fonts in HTML in division HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct option is (a) |
|
| 13. |
Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.(a) drop(b) drag(c) preventDefault(d) dataTransferI have been asked this question in an interview for internship.I would like to ask this question from Drag and Drop in division HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct option is (c) preventDefault |
|
| 14. |
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: topI got this question in unit test.My question is based upon Fonts in HTML in section HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct option is (a) text-align: justify |
|
| 15. |
To show deleted text, which element is used?(a) (b) (c) (d) I got this question during an interview for a job.This intriguing question originated from Fonts in HTML topic in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct choice is (b) |
|
| 16. |
maximumAge returns time in _____________(a) nano-seconds(b) milliseconds(c) hour(d) secondsThis question was posed to me by my college director while I was bunking the class.The query is from Geolocation API in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» The correct choice is (b) milliseconds |
|
| 17. |
What is the default value of timeout?(a) infinity(b) 100(c) 0(d) 1000000I got this question during an interview.Origin of the question is Geolocation API in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» The correct choice is (a) infinity |
|
| 18. |
Which event is fired as the mouse is moving over an element when a drag is occurring?(a) dragover(b) dragenter(c) dragstart(d) dragleaveI had been asked this question in homework.My enquiry is from Drag and Drop topic in section HTML Fonts, Tags and Elements of HTML |
|
Answer» The correct answer is (a) dragover |
|
| 19. |
Which element is used for abbreviation or acronym?(a) (b) (c) (d) I got this question by my college professor while I was bunking the class.This intriguing question originated from Fonts in HTML topic in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» RIGHT CHOICE is (c) Explanation: ELEMENT indicates emphasis, browser will show the contents of element in italic. We used element for shorter quote. Browser put quote aroundelement. A section which is quoted from ANOTHER SOURCE is specified by. For using, abbreviation or acronym element is helpful. A title element is to be used with abbr. |
|
| 20. |
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: capitalizeThe question was posed to me in unit test.My query is from Fonts in HTML in section HTML Fonts, Tags and Elements of HTML |
|
Answer» The correct choice is (d) font-style: capitalize |
|
| 21. |
Which parameter gives an accuracy of longitude and latitude?(a) Accuracy(b) AltitudeAccuracy(c) enableHighAccuracy(d) Extra accuracyThe question was posed to me in a job interview.The origin of the question is Geolocation API topic in section HTML Fonts, Tags and Elements of HTML |
|
Answer» The CORRECT option is (a) ACCURACY |
|
| 22. |
Success callback function evoke only when ___________(a) user accepts to share location information(b) always evoke(c) gps is accessible(d) only by mobile browserThis question was addressed to me in final exam.Enquiry is from Geolocation API topic in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» CORRECT answer is (a) USER accepts to share location information The best explanation: There is a privacy for SHARING of user’s location and the CALLBACK function is evoke only when a user accepts to share his location. Its input PARAMETER is a position of the object. If this function fails then error callback function will be evoked. |
|
| 23. |
Which of the following is not used with text-decoration property?(a) overline(b) underline(c) line-through(d) inlineThe question was asked in unit test.This intriguing question comes from Fonts in HTML in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» The CORRECT answer is (d) inline |
|
| 24. |
A model group contains the names of the elements that a tag may enclose.(a) True(b) FalseThe question was asked in quiz.My question is from Reading a Document Type Definition in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» RIGHT CHOICE is (a) True The explanation is: Most HTML and XHTML ELEMENTS ENCLOSE content. If a content model is declared, it is enclosed within parentheses and known as a model group. |
|
| 25. |
Which property is like the GPS in car?(a) watchPosition()(b) clearWatch()(c) getCurrentPosition()(d) showPosition()I got this question in a job interview.Query is from Geolocation API topic in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» The correct choice is (a) watchPosition() |
|
| 26. |
______________ should include data of two types; the first should be the URL using the type text/uri-list, and the second is the URL using the text/plain type.(a) Dragging HTML and XML(b) Dragging Text(c) Dragging Files(d) Dragging LinksI had been asked this question during an interview for a job.This is a very interesting question from Drag and Drop topic in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» The CORRECT option is (d) Dragging LINKS |
|
| 27. |
Which of the following is not the property of the ‘cords’ object?(a) Accuracy(b) Altitude(c) AltitudeAccuracy(d) enableHighAccuracyI had been asked this question by my school principal while I was bunking the class.The question is from Geolocation API topic in division HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct OPTION is (d) enableHighAccuracy |
|
| 28. |
Which of the following technique is not for the mobile browser to identify the location of a user?(a) GPS(b) IP based position(c) WIFI based position(d) A-GPSI got this question in homework.Question is from Geolocation API topic in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» Right answer is (b) IP BASED position |
|
| 29. |
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) SGMLThis question was addressed to me during an interview for a job.Question is taken from Reading a Document Type Definition topic in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct option is (a) DOCTYPE |
|
| 30. |
Which works similar to element?(a) (b) (c) (d) This question was posed to me in class test.Question is from Fonts in HTML topic in section HTML Fonts, Tags and Elements of HTML |
|
Answer» CORRECT ANSWER is (b) Best explanation: element SHOWS the importance of TEXT/paragraph between it’s tags. makes text bolder. A section which is quoted from another SOURCE is specified by . element indicates emphasis, browser will show the contents of element in italic. |
|
| 31. |
Which of the following property does not has always a return?(a) coords.longitude(b) coords.latitude(c) coords.accuracy(d) coords.altitudeI got this question at a job interview.I'd like to ask this question from Geolocation API in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct option is (d) coords.altitude |
|
| 32. |
What timestamp property denotes?(a) time at which WIFI is used(b) the time at which data of the location is retrieved(c) the time at which callback function is evoked(d) current timeThis question was addressed to me in an interview.My question is based upon Geolocation API in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» The correct answer is (b) the TIME at which DATA of the location is retrieved |
|
| 33. |
Which method is used to get user’s position?(a) getCurrentPosition()(b) getDirectPosition()(c) post()(d) getDirectionThis question was addressed to me in a job interview.I'm obligated to ask this question of Geolocation API topic in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» Right option is (a) GETCURRENTPOSITION() |
|
| 34. |
A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped.(a) True(b) FalseThe question was posed to me in an interview for job.The query is from Drag and Drop in division HTML Fonts, Tags and Elements of HTML |
|
Answer» RIGHT option is (a) True The EXPLANATION is: The dragover event is fired as the mouse is moving over an ELEMENT when a drag is occurring. Much of the time, the operation that occurs during a listener will be the same as the dragenter event. When draggable element ENTERS a drop target then dragenter event is occurred. |
|
| 35. |
Which of the following property is common in all drag events?(a) drag effects(b) drag data(c) dataTransfer(d) dragenterThe question was posed to me in an interview.My query is from Drag and Drop in section HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct option is (c) dataTransfer |
|
| 36. |
The __________ defines the syntax of markup constructs and include additional definitions such as character entity references.(a) Attributes(b) SGML(c) Elements(d) DTDThe question was asked in exam.Enquiry is from Reading a Document Type Definition topic in division HTML Fonts, Tags and Elements of HTML |
|
Answer» RIGHT option is (d) DTD Best explanation: SGML (STANDARD Generalized Markup LANGUAGE) is a standard for how to specify a document markup language or tag set. Property of an element is defined by the attribute. The DTD defines the syntax of markup constructs. The DTD may INCLUDE additional definitions such as character ENTITY references. |
|
| 37. |
_____________ and elements in a document may be dragged using the application/x-moz-node type.(a) Dragging HTML and XML(b) Dragging Text(c) Dragging Nodes(d) Dragging LinksThis question was addressed to me in an international level competition.I'd like to ask this question from Drag and Drop topic in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» The correct OPTION is (c) Dragging Nodes |
|
| 38. |
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) ElementThe question was posed to me during an online exam.This intriguing question originated from Reading a Document Type Definition topic in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct choice is (a) Entity |
|
| 39. |
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) dragenterThe question was posed to me in examination.I want to ask this question from Drag and Drop topic in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» The correct option is (B) drop |
|
| 40. |
Which element defines a title of the Work?(a) (b) (c) (d) This question was addressed to me during an interview for a job.My question is from Fonts in HTML topic in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» Right CHOICE is (b) |
|
| 41. |
Which element is used for short quote?(a) (b) (c) (d) The question was asked in final exam.This interesting question is from Fonts in HTML topic in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» Right answer is (a) |
|
| 42. |
What does getCurrentPosition() returns?(a) latitude(b) longitude(c) direction(d) coordinatesI got this question in an online interview.My question is based upon Geolocation API topic in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» The correct ANSWER is (d) coordinates |
|
| 43. |
Which works similar to element?(a) (b) (c) (d) The question was posed to me during an internship interview.Enquiry is from Fonts in HTML topic in division HTML Fonts, Tags and Elements of HTML |
|
Answer» Right OPTION is (a) |
|
| 44. |
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) HTMLThis question was addressed to me in examination.Question is taken from Reading a Document Type Definition topic in chapter HTML Fonts, Tags and Elements of HTML |
|
Answer» Correct option is (c) ATTLIST |
|
| 45. |
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) attributeI got this question in an interview for job.This key question is from Reading a Document Type Definition topic in portion HTML Fonts, Tags and Elements of HTML |
|
Answer» The CORRECT choice is (C) charset |
|