Professional Documents
Culture Documents
DCET - IT Skills - Design and Develpment Web Pages Practice MCQs and Key Ans
DCET - IT Skills - Design and Develpment Web Pages Practice MCQs and Key Ans
DCET - IT Skills - Design and Develpment Web Pages Practice MCQs and Key Ans
PRACTICE MCQs
(TTT Publications Book Questions)
1. What is CSS?
a) CSS is a style sheet language
b) CSS is designed to separate the presentation and content, including layout, colors, and fonts
c) CSS is the language used to style the HTML documents
d) All of the mentioned
3. Which of the following CSS selectors are used to specify a group of elements?
a) tag
b) id
c) class
d) both class and tag
4. Which of the following has introduced text, list, box, margin, border, color, and background
properties?
a) HTML
b) PHP
c) CSS
d) Ajax
6. Which of the following CSS selector is used to specify a rule to bind a particular unique
element?
a) tag
b) id
c) class
d) both class and tag
7. Which of the following type of HTML tag is used to define an internal style sheet?
a) <script>
b) <link>
c) <class>
d) <style>
8. Which of the following CSS property is used to make the text bold?
a) text-decoration: bold
b) font-weight: bold
c) font-style: bold
d) text-align: bold
9. Which of the following CSS style property is used to specify an italic text?
a) style
b) font
c) font-style
d) @font-face
10. Which of the following are the CSS Extension Prefixes for Webkit?
a) -chrome
b) -web
c) -o-
d) -webkit
11. Which of the following is the correct syntax to link an external style sheet in the HTML file?
a) <link rel=”stylesheet” href=”style.css” />
b) <link rel=”stylesheet” src=”style.css” />
c) <style rel=”stylesheet” src=”style.css” />
d) <style rel=”stylesheet” link=”style.css” />
12.Which of the following CSS property can be used to set the image as a border instead of the
border style?
a) background-image-source
b) background-image
c) border-image-source
d) border-image
13. Which of the following CSS property defines the different properties of all four sides of an
element’s border in a single declaration?
a) border-collapse
b) border-width
c) padding
d) border
14. Which of the following is the correct way to apply CSS Styles?
a) in an external CSS file
b) inside an HTML element
c) inside the <head> section of an HTML page
d) all of the mentioned
15. Which of the following CSS property sets the font size of text?
a) font-size
b) text-size
c) text
d) size
16. Which of the following is not the property of the CSS box model?
a) margin
b) color
c) width
d) height
17. Which of the following CSS property specifies the look and design of an outline?
a) outline-style
b) outline-format
c) outline-font
d) none of the mentioned
18. Which of the following CSS property is used to set the color of the text?
a) text-decoration
b) pallet
c) colour
d) color
19. Which of the following CSS property is used to specify table borders in CSS?
a) table:border
b) table
c) border
d) none of the mentioned
20. Which of the following CSS property defines the space between cells in a table?
a) border-spacing
b) border-style
c) border
d) none of the mentioned
24. Which of the following is used to read an HTML page and render it?
a) Web server
b) Web network
c) Web browser
d) Web matrix
25. Which of the following tag is used for inserting the largest heading in HTML?
a) head
b) <h1>
c) <h6>
d) heading
39 .Which of the following is not the element associated with HTML table layout?
a) size
b) spanning
c) alignment
d) color
40. Which of the following element is not associated with a class attribute?
a) Row
b) <thead>
c) Column cell
d) Rows
46. A ______ Web page contains controls with which the user can interact.
a) Static
b) Dynamic
c) Server
d) Client
48.The ______ validator is used to compare an entry with a constant value or the property stored
in a control.
a) Compare Validator
b) Range Validator
c) Required Field Validator
d) Validation Summary
52. 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 network
59Which of the following are automatically loaded and operates as a part of browser?
a) Add-ons
b) Plug-ins
c) Utilities
d) Widgets
60 The ______ validator is used to verify that control contains data verify that an entry passes the
specified validation logic.
a) Compare Validator
b) Range Validator
c) Custom Validator
d) Validation Summary