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. |
Which of the following color has this value #ff0000?(a) blue(b) green(c) red(d) yellowThe question was asked in a national level competition.This intriguing question comes from Specifying sizes, colors and files in division CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT ANSWER is (C) red The BEST EXPLANATION: Self-explainatory. |
|
| 2. |
Which of the following Color Format can also be defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them?(a) RGB Color(b) RGBa Color(c) HSL Color(d) HSLa ColorI got this question during an interview for a job.My doubt stems from Specifying sizes, colors and files topic in portion CSS Fundamentals, Colors and Styling of CSS |
|
Answer» Right option is (a) RGB COLOR |
|
| 3. |
Which of the following is not a attribute of the audio element?(a) controls(b) src(c) check(d) loopThe question was asked in quiz.This interesting question is from Specifying sizes, colors and files in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The CORRECT OPTION is (C) check |
|
| 4. |
Which of the following property sets in a shorthand form any or all background properties?(a) color(b) wrap(c) background(d) all of the mentionedI got this question during an internship interview.My question is based upon Specifying sizes, colors and files topic in portion CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT OPTION is (C) BACKGROUND Explanation: SYNTAX: background: background-color |
|
| 5. |
Which of the following unit represent the viewport’s width?(a) vh(b) vmin(c) vw(d) chThis question was addressed to me by my college professor while I was bunking the class.This intriguing question comes from Specifying sizes, colors and files in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» CORRECT CHOICE is (C) vw The BEST EXPLANATION: Self-explainatory. |
|
| 6. |
Which of the following Color Format is a CSS colors can also be defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them?(a) RGB Color(b) RGBa Color(c) HSL Color(d) HSLa ColorThis question was addressed to me during a job interview.My question is taken from CSS Color Values topic in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» CORRECT option is (a) RGB COLOR The best I can EXPLAIN: RGB color values can ALSO be defined using PERCENTAGES. The format is the same, except that the numbers are replaced by percentage values between 0% and 100%. |
|
| 7. |
Which of the following is not an Absolute Unit?(a) px(b) em(c) pt(d) mmThis question was addressed to me in an international level competition.My question is taken from Specifying sizes, colors and files in portion CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT option is (B) em Easy EXPLANATION: em is a RELATIVE Unit |
|
| 8. |
Which of the following Color Format is a CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use?(a) HSLa Color(b) Commonly defined named colors(c) System Color Names(d) Specificationdefined named colorsThis question was addressed to me during an online interview.The above asked question is from CSS Color Values topic in division CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The CORRECT OPTION is (c) System COLOR Names |
|
| 9. |
Which of the following Color Format are a 17 defined colors under CSS 2.1?(a) HSLa Color(b) Commonly defined named colors(c) System Color Names(d) Specificationdefined named colorsI had been asked this question in an online quiz.The query is from CSS Color Values topic in portion CSS Fundamentals, Colors and Styling of CSS |
|
Answer» CORRECT option is (d) Specificationdefined named colors Explanation: maroon (#800000) red (#ff0000) orange (#ffA500) yellow (#ffff00) olive (#808000) purple (#800080) fuchsia (#ff00ff ) white (#ffffff) lime (#00ff00) green (#008000) navy (#000080) BLUE (#0000ff) aqua (#00ffff) teal (#008080) black (#000000) silver (#C0C0C0) gray (#808080) Other color keywords may be commonly used but are AD hoc in their definition. |
|
| 10. |
Which of the following Color Format is a CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML?(a) 6-Hex Color(b) 3-Hex Color(c) RGBS(d) RGBaThis question was addressed to me in a job interview.I want to ask this question from CSS Color Values in portion CSS Fundamentals, Colors and Styling of CSS |
|
Answer» Right choice is (a) 6-Hex Color |
|
| 11. |
Which of the following CSS3 Color Feature like RGB color but adds an alpha channel value to specify the opacity of the color?(a) RGB(b) RGBa(c) RGBaplha(d) AlphaRGBThe question was posed to me in an international level competition.This key question is from CSS Color Values in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The correct answer is (B) RGBa |
|
| 12. |
Which of the following CSS3 Color Feature can be used as a macro for whatever the current color is?(a) CurrentColor keyword(b) HSLa Color(c) HSL Color(d) RGB ColorI got this question in class test.I'm obligated to ask this question of CSS Color Values in section CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The CORRECT choice is (a) CurrentColor keyword |
|
| 13. |
Which of the following property sets the amount of spacing between letters?(a) space(b) line-height(c) letter-spacing(d) letter-spaceI had been asked this question during an internship interview.This intriguing question comes from Style Inclusion Methods in section CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The CORRECT ANSWER is (c) letter-SPACING |
|
| 14. |
Which of the following property assigns a graphic image to a list item?(a) list-style-type(b) list-style-image(c) list-style(d) listI got this question during an interview for a job.My enquiry is from Style Inclusion Methods topic in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» Correct option is (B) list-style-image |
|
| 15. |
Which of the following property defines labels for a list of items?(a) list-style-type(b) list-style-image(c) list-style(d) listThe question was posed to me in an online quiz.My question is based upon Style Inclusion Methods topic in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The CORRECT CHOICE is (a) list-style-type |
|
| 16. |
Which of the following measurement defines measurement as a percentage?(a) %(b) cm(c) em(d) inI got this question in an international level competition.Query is from Style Inclusion Methods topic in division CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The correct option is (a) % |
|
| 17. |
Which of the following property sets the font size of text?(a) text-size(b) font-size(c) size(d) textI got this question by my school teacher while I was bunking the class.The doubt is from Style Inclusion Methods in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT CHOICE is (B) font-size Easy EXPLANATION: SYNTAX: |
|
| 18. |
Which of the following property sets a variation of the specified or default font family?(a) height(b) font-weight(c) default(d) font-variantThis question was posed to me in homework.Query is from Style Inclusion Methods in section CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT CHOICE is (d) font-variant For explanation I WOULD SAY: Syntax: |
|
| 19. |
Which of the following measurement defines a measurement relative to a font’s x-height?(a) ex(b) em(c) pt(d) pxThis question was posed to me in semester exam.This question is from Style Inclusion Methods topic in section CSS Fundamentals, Colors and Styling of CSS |
|
Answer» CORRECT choice is (a) ex To explain I would SAY: DEFINES a MEASUREMENT relative to the height of a font in em spaces. Because an em UNIT is equivalent to the size of a given font, if you assign a font to 12pt, each em unit would be 12pt, thus 2em would be 24pt. |
|
| 20. |
The ________________ directive allows style sheets to be grouped and joined together, though some might wonder what the value of this function is given what linked styles provide.(a) (b) (c) (d) @importThis question was addressed to me at a job interview.This key question is from Style Inclusion Methods in section CSS Fundamentals, Colors and Styling of CSS |
|
Answer» Correct choice is (d) @import |
|
| 21. |
Which of the following tag can be used to embed a Document-wide styles in a document’s head element?(a) (b) (c) (d) This question was addressed to me by my college director while I was bunking the class.My question comes from Style Inclusion Methods in division CSS Fundamentals, Colors and Styling of CSS |
| Answer» CORRECT CHOICE is (b) | |
| 22. |
Which of the following tag is used to linked information should be placed inside?(a) (b) (c) (d) The question was asked in unit test.This interesting question is from Style Inclusion Methods in division CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT option is (a) To explain I WOULD say: Linked INFORMATION regarding CSS LIKE external CSS document information is always placed in TAG. tag contains the body of the document. |
|
| 23. |
For External Style Sheets in some cases when @import is used, the browser may cause a rendering “flash” under slow loading conditions.(a) True(b) FalseThe question was asked in a national level competition.I want to ask this question from The Specification of CSS in division CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT option is (a) True The explanation is: External STYLE Sheets in some CASES when @import is used the browser may cause a RENDERING “flash” under slow loading conditions. |
|
| 24. |
Inline style has the lowest priority(a) True(b) FalseThis question was addressed to me at a job interview.Question is from The Specification of CSS in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT ANSWER is (B) False Explanation: AMONG inline, embed and external style ways, inline has the highest PRIORITY and it overrides the other. |
|
| 25. |
For Inline Style, we don’t need to reapply style information throughout the document and outside documents.(a) True(b) FalseThe question was posed to me in final exam.My question is from The Specification of CSS in section CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The correct answer is (b) False |
|
| 26. |
Which of the following is the correct way to applying style to a document?(a) Use an external style sheet, either by importing it or by linking to it(b) Directly embed a document-wide style in the head element of the document(c) Set an inline style rule using the style attribute directly on an element(d) All of the mentionedThe question was posed to me in exam.The doubt is from The Specification of CSS in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The correct option is (d) All of the mentioned |
|
| 27. |
___________ has a grammar but unlike traditional (X)HTML it is not defined with a document type definition.(a) CSS 1(b) CSS 2(c) CSS 2.1(d) CSS 3I had been asked this question during an internship interview.My question is taken from The Specification of CSS in section CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT option is (c) CSS 2.1 Explanation: CSS 2.1 has a grammar (www.w3.org/TR/CSS21/grammar.html) but unlike traditional (X)HTML it is not DEFINED with a document type definition. Instead the CSS SPECIFICATION is a combination of prose and a grammar that COULD be used to build a simple PARSER. |
|
| 28. |
___________ describes CSS properties to manipulate the position of “ruby”, which are small annotations on top of or next to words, especially common in Chinese and Japanese.(a) align(b) ruby(c) lang(d) text-alignThis question was addressed to me by my college director while I was bunking the class.The origin of the question is The Specification of CSS topic in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» Right answer is (B) RUBY |
|
| 29. |
There is no single, integrated ____________________ because it is split into separate modules.(a) CSS1 specification(b) CSS2 specification(c) CSS3 specification(d) CSS4 specificationI have been asked this question in an online interview.The above asked question is from CSS Versions in division CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The correct option is (d) CSS4 specification |
|
| 30. |
Unlike CSS 2, which is a large single specification defining various features?(a) CSS level 1(b) CSS level 2(c) CSS level 3(d) CSS level 2.1This question was posed to me in final exam.My doubt is from CSS Versions in division CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The correct ANSWER is (c) CSS level 3 |
|
| 31. |
_________ first became a Candidate Recommendation on February 25, 2004, but it was reverted to a Working Draft on June 13, 2005 for further review.(a) CSS level 1(b) CSS level 2(c) CSS level 3(d) CSS level 2.1The question was posed to me in an international level competition.I'm obligated to ask this question of CSS Versions topic in section CSS Fundamentals, Colors and Styling of CSS |
|
Answer» Correct answer is (d) CSS level 2.1 |
|
| 32. |
The first CSS specification to become an official W3C Recommendation is ___________(a) (X)HTML CSS(b) CSS level 2(c) CSS level 2.1(d) CSS level 1This question was posed to me by my school teacher while I was bunking the class.My doubt is from CSS Versions in section CSS Fundamentals, Colors and Styling of CSS |
|
Answer» Right option is (d) CSS level 1 |
|
| 33. |
Which of the following CSS property is used to give a line over the text?(a) text-decoration: underline(b) text-decoration: overline(c) text-decoration: line-through(d) text-decoration: noneThis question was addressed to me in an international level competition.I'm obligated to ask this question of CSS Versions in portion CSS Fundamentals, Colors and Styling of CSS |
|
Answer» Right answer is (b) text-decoration: overline |
|
| 34. |
Which is the latest version of CSS available?(a) CSS2(b) CSS3(c) CSS3.1(d) CSS4This question was addressed to me in my homework.I need to ask this question from CSS Versions topic in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The correct OPTION is (b) CSS3 |
|
| 35. |
Which CSS property is equivalent for the attribute ?(a) font-family(b) font-style(c) color(d) all of the mentionedThis question was addressed to me in my homework.I'm obligated to ask this question of CSS Versions in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The correct option is (B) FONT-style |
|
| 36. |
Which CSS property is Equivalent for the align attribute?(a) float(b) text-align(c) centre(d) float & text-alignI got this question in an interview for job.This key question is from CSS Versions topic in section CSS Fundamentals, Colors and Styling of CSS |
|
Answer» CORRECT answer is (a) FLOAT The explanation is: In the case of some elements such as |
|
| 37. |
Which CSS property is equivalent for the attribute ?(a) color(b) margin(c) align(d) fontThe question was posed to me in an international level competition.Query is from CSS Versions in portion CSS Fundamentals, Colors and Styling of CSS |
|
Answer» Correct answer is (c) align |
|
| 38. |
Which of the following is the CSS Extension Prefixes for Webkit?(a) -webkit(b) -o-(c) -web(d) -chromeThe question was posed to me in an internship interview.Question is from CSS Versions topic in division CSS Fundamentals, Colors and Styling of CSS |
|
Answer» Correct choice is (a) -webkit |
|
| 39. |
“font-style comes first than font-weight in font attribute”.State true or false.(a) True(b) FalseThis question was posed to me in unit test.My doubt stems from CSS Fonts topic in section CSS Fundamentals, Colors and Styling of CSS |
|
Answer» CORRECT ANSWER is (b) False The EXPLANATION: Syntax: font: font-weight font-style font-variant font-size/line-height font-family . |
|
| 40. |
Which of the following font-size-adjust is value used in calculating the size of the fallback fonts?(a) auto(b) number(c) count(d) noneThis question was addressed to me by my college professor while I was bunking the class.This intriguing question comes from CSS Fonts in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» CORRECT ANSWER is (B) number Explanation: Self-explainatory. |
|
| 41. |
Which of the following Allows you to expand or condense the widths for a normal, condensed, or expanded font face?(a) font-style(b) font-stretch(c) font-expand(d) none of the mentionedI have been asked this question during an interview.Enquiry is from CSS Fonts topic in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The CORRECT CHOICE is (d) NONE of the mentioned |
|
| 42. |
Which of the following property adjusts the font-size of the fallback fonts defined with font-family, so that the x-height is the same no matter what font is used?(a) default(b) font-size-fallback(c) font-adjust(d) font-size-adjustI have been asked this question during an interview.I'm obligated to ask this question of CSS Fonts topic in portion CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT CHOICE is (d) font-size-adjust For EXPLANATION I WOULD SAY: Self-explainatory. |
|
| 43. |
Which of the following is not a appropriate value for font-variant property?(a) inherit(b) default(c) large-caps(d) small-capsI have been asked this question in homework.I need to ask this question from CSS Fonts topic in division CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The CORRECT CHOICE is (C) large-caps |
|
| 44. |
Which of the following value specifies whether the user agent is allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces?(a) font-weight(b) font-synthesis(c) font-kerning(d) font-variantI have been asked this question at a job interview.This interesting question is from CSS Fonts in portion CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The CORRECT ANSWER is (B) font-synthesis |
|
| 45. |
Which of the following selects a normal, or small-caps face from a font family?(a) font-weight(b) font-synthesis(c) font-kerning(d) font-variantI got this question in examination.My question is from CSS Fonts in portion CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The CORRECT ANSWER is (d) font-variant |
|
| 46. |
Which of the following is not a value for font-style property?(a) normal(b) italic(c) oblique(d) none of the aboveI have been asked this question during an online interview.I want to ask this question from CSS Fonts in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT OPTION is (d) NONE of the above Best EXPLANATION: Self-explainatory. |
|
| 47. |
Which of the following property allows contextual adjustment of inter-glyph spacing, i.e. the spaces between the characters in text?(a) font-style(b) font-family(c) font-kerning(d) font-variantThe question was asked in a national level competition.The doubt is from CSS Fonts in division CSS Fundamentals, Colors and Styling of CSS |
|
Answer» The CORRECT OPTION is (C) font-kerning |
|
| 48. |
Which of the following value is supposed to be a slightly bolder weight that standard bold in font attribute?(a) empasize(b) light(c) lighter(d) darkThis question was posed to me in homework.This interesting question is from CSS Fonts in portion CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT ANSWER is (d) dark Best EXPLANATION: Self-explainatory. |
|
| 49. |
Which of the following function apply a sepia tinge to an element’s color, typical of old photographs, for use by the filter property?(a) grayscale()(b) sepia()(c) contrast()(d) brightness()I have been asked this question during an interview for a job.I want to ask this question from CSS Functions topic in division CSS Fundamentals, Colors and Styling of CSS |
| Answer» | |
| 50. |
Which of the following function two dimensional transformation in matrix format?(a) matrix()(b) matrix2d()(c) matrix3d()(d) perspectiveThis question was addressed to me by my school teacher while I was bunking the class.Query is from CSS Functions topic in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» RIGHT CHOICE is (a) MATRIX() The EXPLANATION is: NONE. |
|