![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Chapters
1. |
----stands for Cascading Style Sheets. |
A. | CSS |
B. | inline |
C. | internal |
D. | external |
Answer» A. CSS |
2. |
-----describes how HTML elements are to be displayed on screen, paper, or in other
|
A. | CSS |
B. | inline |
C. | internal |
D. | external |
Answer» A. CSS |
3. |
------saves a lot of work. It can control the layout of multiple web pages all at once. |
A. | CSS |
B. | inline |
C. | internal |
D. | external |
Answer» A. CSS |
4. |
An------CSS is used to apply a unique style to a single HTML element |
A. | CSS |
B. | inline |
C. | internal |
D. | external |
Answer» B. inline |
5. |
An-----CSS is defined in the <head> section of an HTML page, within
|
A. | CSS |
B. | inline |
C. | internal |
D. | external |
Answer» C. internal |
6. |
With an--------style sheet, you can change the look of an entire web site, by
|
A. | CSS |
B. | inline |
C. | internal |
D. | external |
Answer» D. external |
7. |
An external style sheet can be written in any text editor. The file must not contain
|
A. | .CSS |
B. | .TXT |
C. | .JS |
D. | .XLS |
Answer» A. .CSS |
8. |
The CSS-------property defines the text color to be used. |
A. | color |
B. | font-family |
C. | font -size |
D. | border |
Answer» A. color |
9. |
The CSS------property defines the font to be used. |
A. | color |
B. | font-family |
C. | font -size |
D. | border |
Answer» B. font-family |
10. |
The CSS---------property defines the text size to be used. |
A. | color |
B. | font-family |
C. | font -size` |
D. | border |
Answer» C. font -size` |
11. |
The CSS-------property defines a border around an HTML element: |
A. | color |
B. | font-family |
C. | font -size` |
D. | border |
Answer» D. border |
12. |
The CSS--------property defines a margin (space) outside the border |
A. | color |
B. | font-family |
C. | font -size` |
D. | Margin |
Answer» D. Margin |
13. |
To define a style for special types of elements, add a-----attribute is apply to the
|
A. | color |
B. | font-family |
C. | font -size` |
D. | class |
Answer» D. class |
14. |
-------are used to explain the code, and may help when you edit the source code at
|
A. | color |
B. | font-family |
C. | font -size` |
D. | comments |
Answer» D. comments |
15. |
------are ignored by browsers. |
A. | color |
B. | font-family |
C. | font -size` |
D. | comments |
Answer» D. comments |
16. |
------stands for - |
A. | Cascade style sheets |
B. | Color and style sheets |
C. | Cascading style sheets |
D. | None of the above |
Answer» A. Cascade style sheets |
17. |
Which of the following is the correct syntax for referring the external style sheet? |
A. | <style src = example.css> |
B. | <style src = "example.css" > |
C. | <stylesheet> example.css </stylesheet> |
D. | <link rel="stylesheet" type="text/css" href="example.css"> |
Answer» B. <style src = "example.css" > |
18. |
The property in CSS used to change the---------of an element is - |
A. | bgcolor |
B. | color |
C. | background-color |
D. | All of the above |
Answer» C. background-color |
19. |
The property in CSS used to change the text-----of an element is
|
A. | bgcolor |
B. | color |
C. | background-color |
D. | All of the above |
Answer» B. color |
20. |
The CSS property used to control the element's------is - |
A. | text-style |
B. | text-size |
C. | font-size |
D. | None of the above |
Answer» C. font-size |
21. |
The HTML attribute used to define the inline------is - |
A. | style |
B. | styles |
C. | class |
D. | None of the above |
Answer» A. style |
22. |
The HTML attribute used to define the internal style sheet is ------ |
A. | <style> |
B. | style |
C. | <link> |
D. | <script> |
Answer» B. style |
23. |
Which of the following CSS property is used to set the background image of an
|
A. | background-attachment |
B. | background-image |
C. | background-color |
D. | None of the above |
Answer» B. background-image |
24. |
Which of the following is the correct syntax to make the background-color of all
|
A. | p {background-color : yellow;} |
B. | p {background-color : #yellow;} |
C. | all {background-color : yellow;} |
D. | all p {background-color : #yellow;} |
Answer» A. p {background-color : yellow;} |
25. |
Which of the following is the correct syntax to display the hyperlinks without any underline? |
A. | a {text-decoration : underline;} |
B. | a {decoration : no-underline;} |
C. | a {text-decoration : none;} |
D. | None of the above |
Answer» C. a {text-decoration : none;} |
26. |
Which of the following property is used as the shorthand property for the padding properties? |
A. | padding-left |
B. | padding-right |
C. | padding |
D. | All of the above |
Answer» C. padding |
27. |
The CSS property used to make the-------is - |
A. | font-weight : bold |
B. | weight: bold |
C. | font: bold |
D. | style: bold |
Answer» C. font: bold |
28. |
Are the negative values allowed in padding property? |
A. | Yes |
B. | No |
C. | Can't say |
D. | May be |
Answer» A. Yes |
29. |
Which of the following property is used as the shorthand property of margin
|
A. | margin-left |
B. | margin-right |
C. | margin |
D. | None of the above |
Answer» C. margin |
30. |
The CSS property used to specify the transparency of an element is |
A. | opacity |
B. | filter |
C. | visibility |
D. | overlay |
Answer» C. visibility |
31. |
Which of the following is used to specify the subscript of text using CSS? |
A. | vertical-align: sub |
B. | vertical-align: super |
C. | vertical-align: subscript |
D. | None of the above |
Answer» A. vertical-align: sub |
32. |
The-----CSS is also a method to insert style sheets in HTML document. This
|
A. | CSS |
B. | inline |
C. | internal |
D. | external |
Answer» B. inline |
33. |
-----style sheet is generally used when you want to make changes on multiple pages. It is ideal for this condition because it facilitates you to change the look of the entire web site by changing just one file. |
A. | CSS |
B. | inline |
C. | internal |
D. | external |
Answer» B. inline |
34. |
-----tag is used to display the list in order wise like 1,2 3.. or A,B,C.. |
A. | <meta> |
B. | <ul> |
C. | <ol> |
D. | <map> |
Answer» C. <ol> |
35. |
----tag is used to display the bullet wise list in unordered wise. |
A. | <meta> |
B. | <ul> |
C. | <ol> |
D. | <map> |
Answer» A. <meta> |
36. |
-----tag is used to specify the page description ,keyword, author name, it is
|
A. | <meta> |
B. | <ul> |
C. | <ol> |
D. | <map> |
Answer» A. <meta> |
37. |
-----tag is used to define the list item. |
A. | <li> |
B. | <ul> |
C. | <ol> |
D. | <map> |
Answer» A. <li> |
38. |
-----is used to define the width of border while cellpadding define distance between
|
A. | <cellspacing> |
B. | <ul> |
C. | <ol> |
D. | <map> |
Answer» A. <cellspacing> |
39. |
cellspacing is used to define the width of border while------define distance
|
A. | <cellspacing> |
B. | <cellpadding> |
C. | <ol> |
D. | <map> |
Answer» B. <cellpadding> |
40. |
------tag is used to declaring the title or name of the html document. |
A. | <body> |
B. | <title> |
C. | <head> |
D. | <center> |
Answer» B. <title> |
41. |
-----tag is used to for indicating the head section of the html document. |
A. | <body> |
B. | <title> |
C. | <head> |
D. | <center> |
Answer» C. <head> |
42. |
------tag is used to define the document body. |
A. | <body> |
B. | <title> |
C. | <head> |
D. | <center> |
Answer» A. <body> |
43. |
-----tag is used to center align text. |
A. | <body> |
B. | <title> |
C. | <head> |
D. | <center> |
Answer» D. <center> |
44. |
-----tag is used to give the space in between to word or character . |
A. | <&nbps> |
B. | <title> |
C. | <head> |
D. | <center> |
Answer» A. <&nbps> |
Done Reading?