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 ‘3xx’ code denote?(a) Redirection(b) Server Error(c) Success(d) InformationalThe question was posed to me in class test.This interesting question is from HTTP Overview in division HTML Fundamentals of HTML |
|
Answer» CORRECT option is (a) Redirection To elaborate: ‘3xx’ means Redirection, any further action have to be taken for completing the request. ‘1xx’ is for Informational, it SIGNIFIES that the request was received and the process is going on. ‘2xx’ denotes Success, which signifies the action was SUCCESSFULLY UNDERSTOOD, received and accepted. |
|
| 2. |
What does include?(a) Header(b) Sidebar(c) Article(d) FooterI got this question in an online quiz.My question is based upon HTML5 Introduction in portion HTML Fundamentals of HTML |
|
Answer» RIGHT answer is (c) Article Easy explanation: |
|
| 3. |
What is the correct syntax of doctype in HTML5?(a) (b) (c) (d) I got this question in a national level competition.My query is from HTML5 Introduction in section HTML Fundamentals of HTML |
|
Answer» The CORRECT answer is (a) <!DOCTYPE html> |
|
| 4. |
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 textContentI have been asked this question in my homework.The question is from Microdata in section HTML Fundamentals of HTML |
|
Answer» Right answer is (B) The value is the value of the ELEMENT’s value attribute, if it has one, or the empty string otherwise |
|
| 5. |
Which one of the following is not a step to install a library you need to perform the compatibility in browsers?(a) Download the library from the github location(b) Uncompress the file(c) Insert the following code inside the head tag(d) None of the mentionedI got this question in an interview.Question is taken from Compatibility Libraries in chapter HTML Fundamentals of HTML |
|
Answer» CORRECT CHOICE is (d) NONE of the mentioned Explanation: All STEPS are REQUIRED. |
|
| 6. |
What indicates the content in file is HTML when delivered on the network.(a) The extension of the file “.html”(b) The “content-type” header(c) Both “.html” extension and “content-type” header(d) The “content_type” headerI had been asked this question in an online interview.My doubt stems from Traditional HTML and XHTML in chapter HTML Fundamentals of HTML |
|
Answer» The CORRECT option is (B) The “content-type” header |
|
| 7. |
A Rendering engine is not responsible for ________(a) parsing the markup content (HTML)(b) parsing style information (CSS, XSL, and so on)(c) generating a visual presentation of the formatted content including media files referenced(d) parsing style information (CSS only)This question was posed to me in a job interview.My enquiry is from Web Browsers in portion HTML Fundamentals of HTML |
|
Answer» The CORRECT answer is (d) parsing style INFORMATION (CSS only) |
|
| 8. |
Metadata store information about the web page that is not necessarily visible to end users.(a) True(b) FalseI got this question during an interview.This interesting question is from Meta Data in division HTML Fundamentals of HTML |
|
Answer» CORRECT OPTION is (a) True Explanation: METADATA is “data [information] that provides information about other data. Meta tags store information about the web PAGE—known as metadata that is not necessarily visible to end users (unless you reveal the page SOURCE code). |
|
| 9. |
Which of the following is not a web server?(a) Apache tomcat(b) BlueGriffon(c) Jetty(d) TornadoI have been asked this question in a national level competition.My doubt is from Choosing Web Servers topic in division HTML Fundamentals of HTML |
|
Answer» Right CHOICE is (b) BlueGriffon |
|
| 10. |
Which element is used to get highlighted text in HTML5?(a) (b) (c) (d) The question was asked during a job interview.My question is taken from HTML5 Introduction topic in division HTML Fundamentals of HTML |
|
Answer» The CORRECT choice is (C) |
|
| 11. |
Choose the correct tag for the largest heading in HTML.(a) h6(b) heading(c) h1(d) headThis question was addressed to me in exam.This intriguing question originated from Traditional HTML and XHTML in chapter HTML Fundamentals of HTML |
|
Answer» CORRECT ANSWER is (C) h1 To explain: Headings in HTML STARTS from to
heading is the largest one and and |
|
| 12. |
State whether the given statement is true or false. !DOCTYPE is case sensitive”.(a) True(b) FalseThis question was posed to me in an online interview.This key question is from Traditional HTML and XHTML topic in section HTML Fundamentals of HTML |
|
Answer» The CORRECT option is (b) False |
|
| 13. |
Different meta tags are defined by changing the __________ attribute to a valid value.(a) scheme(b) content(c) http-equiv(d) nameThis question was addressed to me in an international level competition.Origin of the question is Meta Data topic in division HTML Fundamentals of HTML |
|
Answer» Right answer is (d) name |
|
| 14. |
__________ is an HTML specification used to add more information to HTML tags.(a) Macrodata(b) Microdata(c) Minidata(d) ModifydataI have been asked this question in an online interview.This interesting question is from Microdata in section HTML Fundamentals of HTML |
|
Answer» Correct option is (b) Microdata |
|
| 15. |
Which of the following is not a function of robots meta tag?(a) noindex(b) nofollow(c) norepeat(d) noarchiveThe question was asked in an international level competition.I would like to ask this question from Meta Data topic in portion HTML Fundamentals of HTML |
|
Answer» Correct answer is (c) norepeat |
|
| 16. |
Which of the following is not a prepackaged server stack?(a) WAMP(b) XAAMP(c) MAMP(d) NAMPI had been asked this question in examination.I'm obligated to ask this question of Choosing Web Servers in division HTML Fundamentals of HTML |
|
Answer» The correct answer is (b) XAAMP |
|
| 17. |
Blue Griffon is based on ________ rendering engine.(a) WebKit(b) Gecko(c) Presto(d) MeckoI have been asked this question during an interview for a job.My question comes from Choosing Editors and IDEs topic in chapter HTML Fundamentals of HTML |
|
Answer» Right option is (b) Gecko |
|
| 18. |
Which property is used to detect the browser’s user agent and code based on the pertinent cases?(a) navigator.userAgent(b) navigator.user(c) navigator(d) returnI have been asked this question in final exam.My question is taken from Compatibility Libraries topic in chapter HTML Fundamentals of HTML |
|
Answer» Right option is (a) navigator.userAgent |
|
| 19. |
State true or false. It is faster to render HTML and CSS than to interpret and execute JavaScript.(a) True(b) FalseI had been asked this question in a job interview.My query is from Web Browsers in chapter HTML Fundamentals of HTML |
|
Answer» Correct CHOICE is (a) True |
|
| 20. |
Choose the correct HTML for width attribute and its value.(a) width=80(b) width=”80″(c) WIDTH=”80″(d) WIDTH=80This question was addressed to me in examination.Enquiry is from Traditional HTML and XHTML topic in portion HTML Fundamentals of HTML |
|
Answer» Right CHOICE is (B) WIDTH=”80″ |
|
| 21. |
Which of the following is not a request-header field?(a) Expect(b) Host(c) Delete(d) If-None-MatchThe question was asked during an internship interview.My question is taken from HTTP Overview in division HTML Fundamentals of HTML |
|
Answer» The correct answer is (c) Delete |
|
| 22. |
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 scopeThe question was asked in an online quiz.My doubt is from Microdata topic in portion HTML Fundamentals of HTML |
|
Answer» The correct choice is (a) The value is the value of the ELEMENT’s value ATTRIBUTE if it has one, or the empty string otherwise |
|
| 23. |
Which of the following encoding an XML parser assumes?(a) UTF-8(b) UTF-16(c) UTF-32(d) Both UTF-8 and UTF-32This question was addressed to me in final exam.This interesting question is from Major Themes of (X)HTML topic in portion HTML Fundamentals of HTML |
|
Answer» Right option is (d) Both UTF-8 and UTF-32 |
|
| 24. |
Which of the following defines the title of a work?(a) (b) (c) (d) I got this question in my homework.My question is from HTML5 Introduction in section HTML Fundamentals of HTML |
|
Answer» The correct option is (a) |
|
| 25. |
The microdata model consists of groups of name-value pairs known as ________(a) Item(b) Property(c) Value(d) URLThe question was asked by my college director while I was bunking the class.My doubt is from Microdata in section HTML Fundamentals of HTML |
|
Answer» The correct option is (a) Item |
|
| 26. |
Which of the following interface is not supported by LightTPD?(a) FastCGI(b) SCGI(c) GCGI(d) CGIThis question was addressed to me by my school principal while I was bunking the class.I need to ask this question from Choosing Web Servers topic in chapter HTML Fundamentals of HTML |
|
Answer» The correct ANSWER is (c) GCGI |
|
| 27. |
What is DOM?(a) Hierarchy of objects in ASP.NET(b) Application programming interface(c) Convention for representing and interacting with objects in html documents(d) Language dependent application programmingI got this question in a job interview.Enquiry is from Choosing Web Servers topic in chapter HTML Fundamentals of HTML |
|
Answer» The correct answer is (c) Convention for REPRESENTING and interacting with objects in html documents |
|
| 28. |
IDE stands for _________(a) Internet Development Environment(b) Integrated Development Environment(c) Intelligent Development Environment(d) Integrated Developed EnvironmentThe question was posed to me in an internship interview.The query is from Choosing Editors and IDEs topic in portion HTML Fundamentals of HTML |
|
Answer» The correct answer is (b) Integrated DEVELOPMENT Environment |
|
| 29. |
Which tag supports Non-English language?(a) (b) (c) (d) I have been asked this question by my college professor while I was bunking the class.This question is from HTML5 Introduction topic in portion HTML Fundamentals of HTML |
|
Answer» Correct answer is (d) |
|
| 30. |
Which one is not the feature of HTTP protocol?(a) media independent(b) connectionless(c) responsive(d) statelessI got this question during an interview.My question comes from HTTP Overview topic in chapter HTML Fundamentals of HTML |
|
Answer» CORRECT answer is (c) responsive Easiest explanation: There are basically THREE main features of HTTP protocol i.e HTTP is media independent, HTTP is connectionless and it is STATELESS also. BROWSER initiates HTTP request, and then client DISCONNECTS from the server. |
|
| 31. |
Which attribute is used for favicon?(a) icon(b) title(c) rel(d) headThis question was addressed to me in a job interview.Question is taken from Favicons and Icons in section HTML Fundamentals of HTML |
|
Answer» Correct option is (C) rel |
|
| 32. |
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.itemrefI got this question during an online interview.Question is from Microdata topic in section HTML Fundamentals of HTML |
|
Answer» The correct answer is (a) document.getItems |
|
| 33. |
Modernizr does actually add missing functionalities to browsers save for the HTML5 tags styling support.(a) True(b) FalseThis question was posed to me by my college director while I was bunking the class.The above asked question is from Compatibility Libraries topic in chapter HTML Fundamentals of HTML |
|
Answer» Right option is (b) False |
|
| 34. |
Which of the following XHTML doctype declaration contains all HTML elements and attributes, including presentational and deprecated elements (like font) but not framesets?(a) !DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”(b) !DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”(c) !DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Frameset//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd”(d) " rel="nofollow" target="_blank">http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>I have been asked this question in an online quiz.I'd like to ask this question from Traditional HTML and XHTML topic in chapter HTML Fundamentals of HTML |
|
Answer» The correct choice is (b) !DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “REL="NOFOLLOW" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd” |
|
| 35. |
How many times can HTML5 events be fired?(a) Multiple(b) One(c) Only two(d) ZeroThis question was addressed to me during an online interview.This intriguing question originated from HTML5 Introduction topic in division HTML Fundamentals of HTML |
|
Answer» Right option is (a) Multiple |
|
| 36. |
Which element is design to wrap a single piece of information?(a) (b) (c) (d) The question was asked in my homework.I'd like to ask this question from HTML5 Introduction in chapter HTML Fundamentals of HTML |
|
Answer» Correct option is (a) |
|
| 37. |
Which of the following is not supported in HTML5?(a) scheme(b) content(c) http-equiv(d) nameI have been asked this question by my school principal while I was bunking the class.The doubt is from Meta Data in chapter HTML Fundamentals of HTML |
|
Answer» CORRECT CHOICE is (a) SCHEME The explanation is: The scheme attribute is supported in HTML but not in HTML5. Rest of attributes like “CONTENT”, “http-equiv” and“name” are supported in both HTML as well as HTML5. The scheme element is deprecated from HTML5. |
|
| 38. |
Which one of the following is an open source JavaScript library that enables styling for HTML5 elements in versions of Internet Explorer before IE 9 ?(a) HTML5(b) HTML5 Shiv(c) HTML5 Shim(d) HTML5 ShamI had been asked this question during an internship interview.This intriguing question originated from Compatibility Libraries topic in chapter HTML Fundamentals of HTML |
|
Answer» Correct choice is (b) HTML5 Shiv |
|
| 39. |
Which of the following is not a channel of mozilla?(a) Firefox(b) Firefox alpha(c) Firefox Beta(d) Firefox AuroraThe question was asked by my college professor while I was bunking the class.My doubt is from Choosing Web Servers topic in division HTML Fundamentals of HTML |
|
Answer» The CORRECT option is (b) Firefox ALPHA |
|
| 40. |
What is the use of “defer” attribute?(a) It defers rendering of html page(b) It defers script execution until the page has been rendered(c) It defers rendering of css attributes(d) It is only for internal scriptsI have been asked this question in unit test.Origin of the question is Web Browsers in portion HTML Fundamentals of HTML |
|
Answer» The CORRECT option is (b) It defers script execution until the PAGE has been rendered |
|
| 41. |
Nexus is first graphical web browser.(a) True(b) FalseThis question was addressed to me in homework.This intriguing question originated from Web Browsers topic in division HTML Fundamentals of HTML |
|
Answer» Correct ANSWER is (b) False |
|
| 42. |
Firefox uses _________ rendering engine.(a) WebKit(b) Gecko(c) Trident(d) PrestoThe question was asked at a job interview.My question is from Web Browsers in section HTML Fundamentals of HTML |
|
Answer» The correct choice is (b) Gecko |
|
| 43. |
Which of the following is not a difference between HTML and XHTML?(a) Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml”(b) Charset in both html and xhtml is “text/html”(c) Tags and attributes are case-insensitive in HTML but not in XHTML(d) Special characters must be escaped using character entities in XHTML unlike HTMLThe question was posed to me in examination.The origin of the question is Traditional HTML and XHTML topic in section HTML Fundamentals of HTML |
|
Answer» The correct ANSWER is (b) Charset in both html and xhtml is “text/html” |
|
| 44. |
Which of the following are not the valid character set in HTTP?(a) ISO-8859-1(b) US-ASCII(c) ISO-8859-7(d) ISO-8859-12This question was addressed to me in an international level competition.My doubt stems from HTTP Overview in chapter HTML Fundamentals of HTML |
|
Answer» Right answer is (d) ISO-8859-12 |
|
| 45. |
By default, iOS adds ____________ effects to icons.(a) reflective shine(b) square corners and reflective shine(c) rounded corners and reflective shine(d) apple trademarkThe question was posed to me in unit test.My doubt stems from Favicons and Icons topic in chapter HTML Fundamentals of HTML |
|
Answer» The correct answer is (C) rounded corners and reflective shine |
|
| 46. |
Tomcat is an open source web server that provides a servlet container allowing you to run Java code.(a) True(b) FalseI got this question in an interview for job.My doubt stems from Choosing Web Servers in division HTML Fundamentals of HTML |
|
Answer» The correct answer is (a) True |
|
| 47. |
Which of the following is used to read a HTML page and render it?(a) Web browser(b) Web server(c) Web matrix(d) Web networkI got this question in quiz.Asked question is from Web Browsers in section HTML Fundamentals of HTML |
|
Answer» Right answer is (a) Web BROWSER |
|
| 48. |
A favicon is an image used by the browser to identify a website or web application.(a) True(b) FalseThe question was asked during a job interview.My doubt stems from Favicons and Icons in division HTML Fundamentals of HTML |
|
Answer» Right choice is (a) True |
|
| 49. |
Which image file format is not supported in Firefox?(a) MNG(b) PNG(c) SVG(d) APNGThis question was addressed to me during an online exam.This interesting question is from Favicons and Icons in portion HTML Fundamentals of HTML |
|
Answer» Correct choice is (a) MNG |
|
| 50. |
Google Chrome has its own task manager, which allows you to view and manage your memory and CPU usage.(a) True(b) FalseThe question was asked in class test.I want to ask this question from Choosing Web Servers in portion HTML Fundamentals of HTML |
|
Answer» Right choice is (a) True |
|