Unlimited Online Free Software Download! Get 100% Free
Hurry up!
Location: Bapunagar
Call: 800 053 0134
Email: info@hitechskillindia.in
Courses
CCC
Accounting
Software Development
Designing
Mobile Development
Digital Marketing
Specialized Courses
Live Project Training
Home
About
Placement Student's
Quiz
CCC Quiz
TallyPrime + GST Quiz
C, C++ Quiz
PHP Quiz
Laravel Quiz
React Quiz
NodeJS Quiz
Python Quiz
Java Quiz
WordPress Quiz
Digital Marketing Quiz
Front-End Quiz
Fullstack PHP Quiz
Fullstack Python Quiz
Fullstack Java Quiz
Fullstack WordPress Quiz
Fullstack NodeJS Quiz
Blog
Contact
E-Brochure
hot
Gallery
Career
We Are Hiring
Test Exam
Increase your skills
Inquiry Now
Home
About Us
Courses
CCC
Accounting
Software Development
hot
Designing
Mobile Development
new
Digital Marketing
Specialized Courses
new
Live Project Training
hot
Placement Student's
Quiz
CCC Quiz
TallyPrime + GST Quiz
C, C++ Quiz
PHP Quiz
Laravel Quiz
React Quiz
NodeJS Quiz
Python Quiz
Java Quiz
WordPress Quiz
Digital Marketing Quiz
Front-End Quiz
Fullstack PHP Quiz
Fullstack Python Quiz
Fullstack Java Quiz
Fullstack WordPress Quiz
Fullstack NodeJS Quiz
Blog
Contact Us
More
New
E-Brochure
hot
Gallery
Career
We Are Hiring
Test Exam
Increase your skills
WEB DESIGN Quiz
Home
Quiz
WEB DESIGN Quiz
WEB DESIGN Quiz
Welcome!
Quiz
Q.
1 There are ___ levels of heading in HTML
A.
Three
B.
Four
C.
Five
D.
Six
Answer
Six
Q.
2 The following html tag is used to display the content as a moving text
A.
<marquee>
B.
</img>
C.
<a href>
D.
none of the above
Answer
<marquee>
Q.
3 html comment should be enclosed between
A.
<!-- and -->
B.
<-- and -->
C.
<- and ->
D.
none of the above
Answer
<!-- and -->
Q.
4 _____ tag is used before beginning of the paragraph text
A.
<textarea>
B.
<sup>
C.
<p>
D.
<h1>
Answer
<p>
Q.
5 Example of picture editing software is
A.
ms paint
B.
photoshop
C.
animator pro
D.
none of the above
Answer
photoshop
Q.
6 html document have a extension ______
A.
.htx or .htxl
B.
.htm or .html
C.
.hmt or hmtl
D.
none of the above
Answer
.htm or .html
Q.
7 The _____ element can be used to identify your html file to the outside world
A.
title
B.
body
C.
head
D.
html
Answer
html
Q.
8 Which of the following is true
A.
In tables, header cells are centred by default and the data cells are right-aligned.
B.
In the case of character formatting the tag <TW> is used for typewriter-like text
C.
Unordered list starts with <UL> and ends with </UL>
D.
<SUPR> tag is used for superscripts text
Answer
Unordered list starts with <UL> and ends with </UL>
Q.
9 Which of the following is true?
A.
BR tag is used to have a blank line
B.
In tables, the header cell is centred by default and the data cells are right-aligned
C.
The <TR> is used to create a data cell
D.
INPUT tag must have at least 4 attributes
Answer
BR tag is used to have a blank line
Q.
10 to get the ordered list we use
A.
<HI>
B.
<UL>
C.
<OL>
D.
<ML>
Answer
<OL>
Q.
11 HTML is the method where ordinary text can be converted into
A.
ASCII Text
B.
EBCDIC Text
C.
IVDSL Text
D.
None of the above
Answer
None of the above
Q.
12 WWW stands for
A.
wide world web
B.
web world wide
C.
world wide web
D.
world web wide
Answer
world wide web
Q.
13 The CSS property used to control the element’s font-size is__________
A.
text-size
B.
text-size
C.
text-style
D.
None
Answer
None
Q.
14 The HTML attribute used to define the internal stylesheet is___________
A.
style
B.
<style>
C.
<link>
D.
<script>
Answer
<style>
Q.
15 Which of the following CSS property is used to set the background image of an element?
A.
background-color
B.
background-attachment
C.
background-image
D.
None
Answer
background-image
Q.
16 Which of the following is the correct syntax to display the hyperlinks without any underline?
A.
a {decoration : no-underline;}
B.
a {text-decoration : underline;}
C.
a {text-decoration : none;}
D.
None
Answer
a {text-decoration : none;}
Q.
17 Which of the following is the correct syntax to make the background-color of all paragraph elements to yellow?
A.
all {background-color : yellow;}
B.
p {background-color : #yellow;}
C.
p {background-color : yellow;}
D.
all p {background-color : #yellow;}
Answer
p {background-color : yellow;}
Q.
18 Which of the following property is used as the shorthand property for the padding properties?
A.
padding-right
B.
padding-left
C.
padding
D.
All of the above
Answer
padding
Q.
19 The CSS property used to make the text bold is___________
A.
weight :bold
B.
font-weight : bold
C.
style : bold
D.
font : bold
Answer
font-weight : bold
Q.
20 The property in CSS used to change the background color of an element is_____________
A.
background-color
B.
color
C.
bgcolor
D.
None
Answer
background-color
Q.
21 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
<link rel=“stylesheet” type=“text/css” href=“example.css”>
Q.
22 The HTML attribute used to define the inline styles is___________
A.
class
B.
styles
C.
style
D.
None of the above
Answer
style
Q.
23 The CSS property used to draw a line around the elements outside the border?
A.
line
B.
border
C.
padding
D.
outline
Answer
outline
Q.
24 Which of the following CSS property is used to specify the space between every letter inside an element?
A.
character-spacing
B.
alpha-spacing
C.
letter-spacing
D.
alphabet-spacing
Answer
letter-spacing
Q.
25 The CSS property used to make the rounded borders, or rounded corners around an element is________
A.
border-radius
B.
border-collapse
C.
border-spacing
D.
None
Answer
border-radius
Q.
26 The CSS property used to specify the transparency of an element is____________
A.
visibility
B.
filter
C.
overlay
D.
opacity
Answer
opacity
Q.
27 Which of the following property is used as the shorthand property of margin properties?
A.
margin-right
B.
margin-left
C.
margin
D.
None of the above
Answer
margin
Q.
28 The CSS property used to set the distance between the borders of the adjacent cells in the table is__________
A.
border-collapse
B.
border-spacing
C.
border-radius
D.
None
Answer
border-spacing
Q.
29 Are the negative values allowed in padding property?
A.
No
B.
Yes
C.
Can’t say
D.
May be
Answer
No
Q.
30 What are the valid values of font-style property?
A.
italic, bold, bolder
B.
normal, bold, italic
C.
underline, bold, italic
D.
inherit, italic, normal, oblique
Answer
inherit, italic, normal, oblique
Q.
31 Which CSS property is used to specify uppercase and lowercase letters in a text?
A.
text-transform
B.
text-case
C.
case
D.
text-casing
Answer
text-transform
Q.
32 In how many ways can CSS be added to HTML?
A.
One
B.
Two
C.
Three
D.
Infinite
Answer
Three
Q.
33 Which selector do we use to specify the rule for binding some particular unique element?
A.
class
B.
tag
C.
both tag and class
D.
id
Answer
id
Q.
34 Internal styles are written within the _____ element.
A.
<style>…</style>
B.
<css>…</css>
C.
<stylesheet>…</stylesheet>
D.
Both A. and B.
Answer
<style>…</style>
Q.
35 HTML is what type of language ?
A.
Scripting Language
B.
Markup Language
C.
Programming Language
D.
Network Protocol
Answer
Markup Language
Q.
36 Which HTML tag produces the biggest heading?
A.
<h7>
B.
<h9>
C.
<h4>
D.
<h1>
Answer
<h1>
Q.
37 Which is correct?
A.
<b>Click Here<b>
B.
<strong>Click Here<strong>
C.
<b>Click Here</b>
D.
</strong>Click Here</strong>
Answer
<b>Click Here</b>
Q.
38 To create a link to an anchor, you use the______property in A tag.
A.
Name
B.
Tag
C.
Link
D.
Href
Answer
Href
Q.
39 The page title is inside the____tag.
A.
Body
B.
Head
C.
Division
D.
Table
Answer
Head
Q.
40 <UL>...</UL> tag is used to ________
A.
display the numbered list
B.
underline the text
C.
display the bulleted list
D.
bold the text
Answer
display the bulleted list
Q.
41 <TD>...</TD> tag is used to ________
A.
Table Heading
B.
Table Data
C.
Table row
D.
none of the above
Answer
Table Data
Q.
42 Which tag is used to create body text in HTML?
A.
<HEAD>
B.
<TEXT>
C.
<TITLE>
D.
<BODY>
Answer
<BODY>
Q.
43 Which plugin is used to cycle through elements, like a slideshow?
A.
orbit
B.
slideshow
C.
scrollspy
D.
carousel
Answer
carousel
Q.
44 Which plugin is used to create a modal window?
A.
modal
B.
window
C.
dialog Box
D.
popup
Answer
modal
Q.
45 Which plugin is used to create a tooltip?
A.
popup
B.
tooltip
C.
modal
D.
dialog Box
Answer
tooltip
Q.
46 Bootstrap’s grid system allows up to
A.
6 columns across the page
B.
12 columns across the page
C.
columns across the page
D.
columns across the pag
Answer
12 columns across the page
Q.
47 Which class should be used to indicate a button group?
A.
btn-group-buttons
B.
btn-group
C.
btn-grp
D.
btn-buttons
Answer
btn-group
Q.
48 Which of the following bootstrap styles of buttons can be used to make the size of the button small?
A.
.btn-lg
B.
.btn-sm
C.
.btn-xs
D.
.btn-block
Answer
.btn-sm
Q.
49 How many Container class are there in Bootstrap?
A.
one
B.
Two
C.
Three
D.
Four
Answer
Two
Q.
50 The _________ class is used to right-align navigation bar buttons.
A.
.navbar-default
B.
.navbar-btn
C.
.navbar-right
D.
.navbar-rgt
Answer
.navbar-right
Q.
51 Which class is used to add buttons inside the navigation bar?
A.
.navbar-default
B.
.navbar-btn
C.
.navbar-button
D.
.navbar-right
Answer
.navbar-btn
Q.
52 Bootstrap is developed by
A.
James Gosling
B.
Mark Jukervich
C.
Mark Otto and Jacob Thornton
D.
None of them
Answer
Mark Otto and Jacob Thornton
Q.
53 Which of the following bootstrap style is used to add standard links to .navbar?
A.
navbar-link
B.
link
C.
form-link
D.
None of the above.
Answer
navbar-link
Q.
54 How do you insert a comment in a CSS file?
A.
// this is a comment //
B.
/* this is a comment */
C.
' this is a comment
D.
//this is a comment
Answer
/* this is a comment */
Q.
55 How do you change the left margin of an element?
A.
margin:
B.
indent:
C.
margin-left:
D.
text-indent:
Answer
margin-left:
Q.
56 Interpret this statement: <strong>Michelle</strong>
A.
It makes Michelle strong
B.
It highlights Michelle as being strong
C.
It will print out Michelle in bold font
D.
It will print out Michelle in italic font
Answer
It will print out Michelle in bold font
Q.
57 What is the tag for an inline frame?
A.
Iframe
B.
Inframe
C.
frame
D.
inlineframe
Answer
Iframe
Q.
58 Which of the following class in bootstrap is used to create a big box for calling extra attention?
A.
.box
B.
.container
C.
.container-fluid
D.
.jumbotron
Answer
.jumbotron
Q.
59 Which of the following class in Bootstrap is used to create a basic list group?
A.
.grouped-list
B.
.select-list
C.
.list-group
D.
.list-grouped
Answer
.list-group
Q.
60 Which of the following class in Bootstrap is used to create basic pagination?
A.
.page
B.
.pagin
C.
.paginate
D.
.pagination
Answer
.pagination
Q.
61 Which of the following class in Bootstrap is used to create a badge?
A.
.tag
B.
.badge
C.
.page
D.
.flag
Answer
.badge
Q.
62 The class in Bootstrap which is used to specify the collapsible elements is -
A.
.collapse
B.
.carousel
C.
.pager
D.
None of the above
Answer
.collapse
Q.
63 Which of the following class in Bootstrap is used for creating the large size modals?
A.
.modal-large
B.
.modal-sm
C.
.modal-big
D.
.modal-lg
Answer
.modal-lg
Q.
64 Which of the following is correct method to add a success button?
A.
<button class = "btn btn-success"> success </button>
B.
<button class = "btn button-success">success </button>
C.
<button class = "button btn-success">success </button>
D.
<button class = "button btn-primary"> success </button>
Answer
<button class = "btn btn-success"> success </button>
Q.
65 Which of the following class in Bootstrap is used to create a label?
A.
.label
B.
.badge
C.
.flag
D.
.popover
Answer
.label
Q.
66 Which of the following is correct about the Bootstrap Grid system?
A.
The Bootstrap Grid system allows 12 columns across the page.
B.
Bootstrap Grid system is responsive.
C.
Both (a) and (b)
D.
Neither (a) nor (b)
Answer
Both (a) and (b)
Q.
67 Which of the following class in Bootstrap is used to style a table with borders surrounding every element?
A.
.table-striped
B.
.table-bordered
C.
.table-border
D.
.table-color
Answer
.table-bordered
Q.
68 Which of the following class in Bootstrap is used to style a table with a light gray background to rows when the user moves the cursor over them?
A.
.table-striped
B.
.table-bordered
C.
.table-border
D.
.table-hover
Answer
.table-hover
Q.
69 In the below code snippet, in what order will the margins be added ? p { margin: 25px 50px 75px 100px; }
A.
Top, Right, Bottom, Left,
B.
Top, Left, Bottom, Right,
C.
Top, Bottom, Right, Left,
D.
Right, Left, Top, Bottom,
Answer
Top, Right, Bottom, Left,
Q.
70 Which of the following class in Bootstrap is used to provide a responsive fixed width container ?
A.
.container-fixed
B.
.container-fluid
C.
.container
D.
All of the above
Answer
.container
Q.
71 How can we select an element with a specific ID in CSS ?
A.
#
B.
.
C.
^
D.
None of the above
Answer
#
Q.
72 What type of CSS is generally recommended for designing large web pages ?
A.
Inline
B.
Internal
C.
External
D.
None of the above
Answer
External
Q.
73 What type of CSS is the following code snippet ? <h1 style = "color:blue;" >A Blue Heading </h1>
A.
Inline
B.
Internal
C.
External
D.
None of the above
Answer
Inline
Q.
74 How many columns are allowed in a bootstrap grid system ?
A.
2 columns
B.
12 columns
C.
3 columns
D.
5 columns
Answer
12 columns
Q.
75 Which HTML tag is used to declare internal CSS ?
A.
<style>
B.
None of the above
C.
<link>
D.
<script>
Answer
<style>
Q.
76 What are the attributes used to change the size of an image ?
A.
Width and height
B.
Big and Small
C.
Top and bottom
D.
None of the above
Answer
Width and height
Q.
77 We enclose HTML tags within ?
A.
< >
B.
{ }
C.
! !
D.
None of the above
Answer
< >
Q.
78 Which of the following tags doesn't require a closing tag ?
A.
<br>
B.
<hr>
C.
Both the <hr> and the <br> tag
D.
None of the above
Answer
Both the <hr> and the <br> tag
Q.
79 Which property is used to define the font of the element's text?
A.
font
B.
font-family
C.
font-style
D.
All of the above
Answer
font-family
Q.
80 Which is the correct inline CSS for p tag to define paragrap's text and background colors?
A.
<p css="color: red; background-color: yellow;">
B.
<p cssstyle="color: red; background-color: yellow;">
C.
<p inline="color: red; background-color: yellow;">
D.
<p style="color: red; background-color: yellow;">
Answer
<p style="color: red; background-color: yellow;">
Q.
81 What does the abbreviation HTML stand for?
A.
Hyper Text Markup Language.
B.
HighText Markup Language.
C.
Hyper Text Markdown Language.
D.
None of the above.
Answer
Hyper Text Markup Language.
Q.
82 What is the smallest header in HTML by default?
A.
h1
B.
h4
C.
h2
D.
h6
Answer
h6
Q.
83 What are the types of lists available in HTML?
A.
Ordered, Unordered Lists.
B.
Bulleted, Numbered Lists.
C.
Named, Unnamed Lists.
D.
None of the above.
Answer
Ordered, Unordered Lists.
Q.
84 HTML files are saved by default with the extension?
A.
.html
B.
.ht
C.
.h
D.
None of the above
Answer
.html
Q.
85 We enclose HTML tags within?
A.
{}
B.
<>
C.
!!
D.
None of the above
Answer
<>
Q.
86 What is the effect of the tag?
A.
It converts the text within it to bold font.
B.
It is used to write black-colored font.
C.
It is used to change the font size.
D.
None of the above.
Answer
It converts the text within it to bold font.
Q.
87 Which of the following is correct about HTML?
A.
HTML uses User Defined Tags.
B.
HTML uses tags defined within the language.
C.
Both A and B.
D.
None of the above.
Answer
HTML uses tags defined within the language.
Q.
88 How to display preformatted text in HTML?
A.
<p>
B.
<hr>
C.
<pre>
D.
All of the above
Answer
<pre>
Q.
89 What is meant by an empty tag in HTML?
A.
There is no such concept of an empty tag in HTML
B.
An empty tag does not require a closing tag
C.
An empty tag cannot have any content within it
D.
None of the above
Answer
An empty tag does not require a closing tag
Q.
90 Which attribute is used to provide a unique name to an HTML element?
A.
id
B.
type
C.
class
D.
None of the above
Answer
id
Q.
91 What is the function of the HTML style attribute?
A.
It is used to add styles to an HTML element.
B.
It is used to uniquely identify some specific styles of some element.
C.
Both A and B.
D.
None of the above.
Answer
It is used to add styles to an HTML element.
Q.
92 Which of the following is the correct syntax for using the HTML style attribute?
A.
<tagname style "property: value;" >
B.
<tagname style — "property;" >
C.
<tagname style >
D.
None of the above
Answer
<tagname style "property: value;" >
Q.
93 Which HTML element is used to define description data?
A.
<li>
B.
<dl>
C.
<ol>
D.
<dd>
Answer
<dd>
Q.
94 Which of the following properties is used to change the font of text?
A.
font-family
B.
font-size
C.
text-align
D.
None of the above
Answer
font-family
Q.
95 How are quotations defined in HTML?
A.
<quote>
B.
<block>
C.
<blockquote >
D.
None of the above
Answer
<blockquote >
Q.
96 What tag is used to render an image on a webpage?
A.
img
B.
src
C.
image
D.
None of the above
Answer
img
Q.
97 Apart from <i> tag, which of the following tag is used to render a text in italics?
A.
<strong>
B.
<em>
C.
<b>
D.
None of the above
Answer
<em>
Q.
98 Colors are defined in HTML using?
A.
RGB Values
B.
HEX Values
C.
RGBA values
D.
All of the above
Answer
All of the above
Q.
99 Which property is used to set colors in HTML?
A.
color
B.
background-color
C.
font-color
D.
text-color
Answer
color
Q.
100 What are the types of unordered lists in HTML?
A.
Circle, square, disc.
B.
Triangle, Square, disc.
C.
Triangle, Circle, Disc.
D.
All of the above.
Answer
Circle, square, disc.
Q.
101 Which property is used to set border colors in HTML?
A.
border-color
B.
border
C.
Both A and B
D.
None of the above
Answer
border
Q.
102 Which of the following things are necessary to create an HTML page?
A.
A text editor.
B.
Web Browser
C.
Both A and B
D.
None of the above
Answer
Both A and B
Q.
103 Which HTML tag is called the root element of an HTML document?
A.
<html>
B.
<title>
C.
<bodY>
D.
<head>
Answer
<html>
Q.
104 How is black color represented in terms of RGB values?
A.
RGB(O, O, 0)
B.
RGB(IOO, 100, 100)
C.
RGB(IOO, 100, 0)
D.
RGB(100, O, 0)
Answer
RGB(O, O, 0)
Q.
105 What does the Alpha value in RGBA represent?
A.
Opacity value for a color.
B.
The shade of a color.
C.
Both A and B.
D.
None of the above.
Answer
Opacity value for a color.
Q.
106 What does the Alpha value of 0.0 represent?
A.
Fully Opaque.
B.
Fully Transparent.
C.
50% transparent.
D.
None of the above.
Answer
Fully Transparent.
Q.
107 How to set a font for a whole page?
A.
<targetfont>
B.
<defaultfont>
C.
<font>
D.
None of the above
Answer
<defaultfont>
Q.
108 Before using a pointer variable, it should be ___.
A.
Declared
B.
Initialized
C.
Both A. and B.
D.
None of the above
Answer
Both A. and B.
Q.
109 Which HTML tag is used to set up a Javascript–like client?
A.
<script>
B.
<select>
C.
<anchor>
D.
None of the above
Answer
<script>
Q.
110 What are the main components of the front end of any working website?
A.
HTML, CSS, Javascript.
B.
HTML only.
C.
Javascript only.
D.
Node.js.
Answer
HTML, CSS, Javascript.
Q.
111 What is the select tag used for?
A.
Creates a combo box.
B.
Select some attributes and change their style.
C.
Change text font.
D.
None of the above.
Answer
Creates a combo box.
Q.
112 The most basic part of any HTML page is?
A.
ASCII Text
B.
Binary Text
C.
Text
D.
None of the above
Answer
ASCII Text
Q.
113 What are those objects called which are used for storing data on the client provided by the HTML local storage?
A.
Windows.IocaIStorage
B.
Window.sessionStorage
C.
Both A and B
D.
None of the above
Answer
Both A and B
Q.
114 The default value of the BORDER attribute is?
A.
1 pixel
B.
2pixel
C.
4pixel
D.
8pixel
Answer
1 pixel
Q.
115 What are some valid character sets available?
A.
UTE-8
B.
ANSI
C.
ASCII
D.
All of the above
Answer
All of the above
Q.
116 How many characters can be written in I KB?
A.
1048
B.
1024
C.
1000
D.
None of the above
Answer
1024
Q.
117 Which of the following are examples of block–level elements in HTML?
A.
<div>
B.
<p>
C.
<hl>
D.
All of the above
Answer
All of the above
Q.
118 What are the properties of block-level elements?
A.
It always starts on a new line.
B.
It always takes the full width available.
C.
It has a top and bottom margin.
D.
All of the above.
Answer
All of the above.
Q.
119 If a background image is smaller than the screen on which it is being displayed, what will occur on the webpage?
A.
The blank space will be shown in black.
B.
The image will be repeated
C.
The image will be stretched
D.
The image will not be displayed
Answer
The image will be repeated
Q.
120 Which property allows an image link to show a text label?
A.
alt
B.
str
C.
alternative
D.
None of the above
Answer
alt
Q.
121 What is CSS stands for in Webdesign?
A.
Cascading Style Sheets
B.
Cascade Style Sheet
C.
Color Style Sheets
D.
Color Style Sheet
Answer
Cascading Style Sheets
Q.
122 What CSS describes?
A.
CSS describes how calculation perform on button click.
B.
CSS describes how HTML elements are to be displayed on screen, paper, or in other media
C.
Both A. and B.
D.
None of the above
Answer
CSS describes how HTML elements are to be displayed on screen, paper, or in other media
Q.
123 What is a CSS selector?
A.
A CSS selector is the CSS class name
B.
A CSS selector is the set of properties that are going to be applied on HTML elements
C.
A CSS selector is name of CSS file.
D.
A CSS selector is the first part of a CSS Rule. It may an HTML element or pattern of elements.
Answer
A CSS selector is the first part of a CSS Rule. It may an HTML element or pattern of elements.
Q.
124 In a CSS file, there is a CSS rule for paragraphs tags — what does p can be called?
A.
Selector
B.
Attribute
C.
Property
D.
Tag
Answer
Selector
Q.
125 Internal styles are written within the element.
A.
<style>...</style>
B.
<css>...</css>
C.
<stylesheet>...</stylesheet>
D.
Both A. and B.
Answer
<style>...</style>
Q.
126 Inline styles are written within the attribute.
A.
style
B.
css
C.
stylesheet
D.
Both A. and B.
Answer
style
Q.
127 CSS comments are placed within the
A.
//
B.
/* and */
C.
<* and *>
D.
<! and !>
Answer
/* and */
Q.
128 Can comments also span multiple lines?
A.
Yes
B.
No
C.
Both A and B
D.
None of the above
Answer
Yes
Q.
129 Which property is used to define the text color?
A.
text-color
B.
color
C.
font-color
D.
Both A. and B.
Answer
color
Q.
130 Which property is used to define the background color?
A.
background
B.
bg-color
C.
background-color
D.
Both A. and C.
Answer
Both A. and C.
Q.
131 From the given options which is/are the valid way to represent a color?
A.
A valid color name like blue
B.
HEX code like #0000ff
C.
RGB Value rgb(0,0,255)
D.
All of the above
Answer
All of the above
Q.
132 Which property is used to define the font of the element is text?
A.
font
B.
font-family
C.
font-style
D.
All of the above
Answer
font-family
Q.
133 To make a text italic, which CSS property is used?
A.
font
B.
font-family
C.
font-style
D.
All of the above.
Answer
font-style
Q.
134 Why font-weight property is used?
A.
Sets how thick or thin characters in text should be displayed.
B.
Sets the size of the font
C.
Both A. and B.
D.
None of the above
Answer
Sets how thick or thin characters in text should be displayed.
Q.
135 What is/are the correct value(s) of font-weight property?
A.
bold, italic, underline
B.
normal, bold, italic
C.
normal, bold, bolder, lighter, initial, and inherit
D.
None of the above
Answer
normal, bold, bolder, lighter, initial, and inherit
Q.
136 What is the correct syntax of border property in CSS?
A.
border: border-width border-style border-color
B.
border: border-color border-width border-style
C.
border: border-style border-width border-color
D.
All of the above
Answer
border: border-width border-style border-color
Q.
137 Which of the following is the correct syntax to remove the underline on hyperlinks and visited hyperlinks?
A.
a {text-decoration : underline;}, a:visited {text-decoration : underline;}
B.
a {text-decoration : block;), a:visited {text-decoration : block;}
C.
a {text-decoration : none;}, a:visited {text-decoration : none;}
D.
None of the above
Answer
a {text-decoration : none;}, a:visited {text-decoration : none;}
Q.
138 Which CSS property is used to style the hyperlinks on hover (Mouse over)?
A.
a:mouseover
B.
a:move
C.
a:mover
D.
a:hover
Answer
a:hover
Q.
139 If you want to use a green dotted border around an image, which CSS property is used for that?
A.
border-style
B.
border-color
C.
border-decoration
D.
Both A. and B.
Answer
Both A. and B.
Q.
140 Which CSS property and value is used to center an element?
A.
text-align:center
B.
align:center
C.
text-align:middle
D.
align:middle
Answer
text-align:center
Q.
141 What are the valid values of text-align property?
A.
left, middle, right
B.
left, center, right
C.
left, center, right, justify
D.
left, middle, right, justify
Answer
left, center, right, justify
Q.
142 What is the use of "text-align:justify" in CSS?
A.
Stretches the lines so that each line has equal width
B.
Stretches the lines so that each line can be arranged in left alignment
C.
Stretches the lines so that each line can be arranged in right alignment
D.
None of the above
Answer
Stretches the lines so that each line has equal width
Q.
143 Which CSS property is used to specify the indentation of the first line of a text?
A.
text-align
B.
padding-left
C.
text-indent
D.
margin-left
Answer
text-indent
Q.
144 Which CSS property is used to specify the space between the characters in a text?
A.
text-space
B.
letter-space
C.
letter-spacing
D.
letter-distance
Answer
letter-spacing
Q.
145 Which CSS property is used to specify the space between lines?
A.
line-space
B.
line-spacing
C.
line-padding
D.
line-height
Answer
line-height
Q.
146 Which CSS property is used to specify the space between the words in a text?
A.
word-spacing
B.
word-padding
C.
word-height
D.
characters-spacing
Answer
word-spacing
Q.
147 Which CSS property adds shadow to text?
A.
content-shadow
B.
text-shadow
C.
word-shadow
D.
text-outline
Answer
text-shadow
Q.
148 Which is the correct CSS statement to capitalize the first letter of each word?
A.
text-transform: uppercase
B.
text-transform: capitalize
C.
text-transform: sentence
D.
Both A. and B.
Answer
text-transform: capitalize
Q.
149 What are the valid values of text-transform property?
A.
uppercase, lowercase, and capitalize
B.
uppercase, lowercase, capitalize, and sentence
C.
upper, lower, and capital
D.
upper, lower, capital, and sentence
Answer
uppercase, lowercase, and capitalize
Q.
150 What are the valid values of "text-decoration" property?
A.
overline, line-through, underline, and none
B.
overline, strike, line-through, underline, and none
C.
double-line, overline, line-through, underline, and none
D.
None of these
Answer
overline, line-through, underline, and none
Q.
151 Which CSS property specifies how to align the last line of a text?
A.
text-align
B.
last-text-align
C.
text-align-last-line
D.
text-align-last
Answer
text-align-last
Q.
152 Which CSS property sets the vertical alignment of an element?
A.
vertical-align
B.
vertical-text-align
C.
vertical-align-text
D.
text-valign
Answer
vertical-align
Q.
153 Which CSS property specifies the type of list item marker?
A.
list-style
B.
list-style-type
C.
list-style-square
D.
list-style-circle
Answer
list-style-type
Q.
154 Which is the correct CSS statement is used to remove the markers/bullets?
A.
list-style: none;
B.
list-style-type: 0;
C.
list-style-type: blank;
D.
list-style-type: none;
Answer
list-style-type: none;
Q.
155 Which CSS property specifies an image as the list item marker?
A.
list-style-image
B.
list-style-picture
C.
list-style-bgimage
D.
list-style-background
Answer
list-style-image
Q.
156 Which CSS property specifies if/how an element is displayed?
A.
block
B.
element-display
C.
display
D.
element-block
Answer
display
Q.
157 HTML elements are positioned by default.
A.
static
B.
fixed
C.
relative
D.
none
Answer
static
Q.
158 What are the valid values for "position" property?
A.
block, none, fixed, absolute, and static
B.
block, static, fixed, absolute, and sticky
C.
static, relative, fixed, absolute, and none
D.
static, relative, fixed, absolute, and sticky
Answer
static, relative, fixed, absolute, and sticky
Q.
159 Which CSS property specifies the opacity/transparency of an element?
A.
transparency
B.
opacity
C.
transform-opacity
D.
opacity-all
Answer
opacity
Q.
160 Which CSS function performs a calculation to be used as the property value?
A.
sum()
B.
add0
C.
calc()
D.
addition()
Answer
calc()
Q.
161 Which CSS function uses the largest value?
A.
large()
B.
maximum()
C.
max_value()
D.
max()
Answer
max()
Q.
162 Which CSS function uses the smallest value?
A.
small()
B.
minimum()
C.
min_value()
D.
min()
Answer
min()
Q.
163 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 above
Answer
All of the above
Q.
164 The <style> in Internal CSS refers to
A.
Attributes
B.
HTML tags
C.
Selector
D.
All of the above
Answer
HTML tags
Q.
165 Can we link multiple stylesheets to a single page?
A.
Yes
B.
No
C.
Cannot say, it depends on CSS properties
D.
None of the above
Answer
Yes
Q.
166 The CSS property used to change text sizes?
A.
font-family
B.
font-size
C.
font
D.
Both A and C
Answer
font-size
Q.
167 In this line of code, identify the selector
p {border: 2px solid blue;}
A.
p
B.
border
C.
2px
D.
None of these
Answer
p
Q.
168 How many color names does CSS supports?
A.
140 names
B.
75 names
C.
100 names
D.
90 names
Answer
140 names
Q.
169 The property is used in the positioning of the background image.
A.
background-image
B.
background-position
C.
padding
D.
All of the above.
Answer
background-position
Q.
170 what means 4 times the size of the current font.
A.
4px
B.
4 pt.
C.
4vw
D.
4em
Answer
4em
Q.
171 Amongst the following browsers, which browser supports almost all the CSS properties?
A.
Firefox
B.
Safari
C.
Google Chrome
D.
Opera
Answer
Google Chrome
Q.
172 What is the CSS Entity for the character "#"?
A.
0023
B.
0026
C.
0027
D.
None of the above.
Answer
0023
Q.
173 This selector selects all the
elements where the parent is a
element.
A.
h + p
B.
h > p
C.
p.h
D.
p > h
Answer
h > p
Q.
174 Which selector selects the markers of list items?
A.
::marker
B.
.marker
C.
::selector
D.
None of these
Answer
::marker
Q.
175 Which is the most widely used font in customizing web pages?
A.
Times New Roman
B.
Georgia
C.
Arial
D.
Garamond
Answer
Arial
Q.
176 Which of the following CSS properties are animatable?
A.
color
B.
animation
C.
flex
D.
All of the above.
Answer
animation
Q.
177 We can give space between unit and value when assigning length values to CSS properties.
A.
True
B.
False
C.
Both A and B
D.
None of the above.
Answer
False
Q.
178 Which of these units of length is supported by Chrome Version 1.0?
A.
rem
B.
vw
C.
px
D.
vh
Answer
px
Q.
179 Which line of code is a must to write to apply CSS Flexbox properties?
A.
display: flex;
B.
display: flexbox;
C.
display: block;
D.
flex-direction: row;
Answer
display: flex;
Q.
180 The default value of justify-content property is
A.
flex-start
B.
flex-end
C.
space-between
D.
All of the above.
Answer
flex-start
Q.
181 Which is the correct syntax for adding animation?
A.
animation: name timing-function duration
B.
animation: name duration timing-function
C.
animation: name delay duration
D.
None of the above.
Answer
animation: name duration timing-function
Q.
182 Which line of code specifies playing an animation with the same speed from beginning to the end?
A.
div {animation- timing function: linear;)
B.
div {animation- timing function: ease in;}
C.
div {animation- play- state: paused;}
D.
div {animation- fill-mode: both;}
Answer
div {animation- timing function: linear;)
Q.
183 Which line of code represents a universal selector?
A.
*{border: 2px solid red;}
B.
both A&B
C.
body {border: 2px solid red;}
D.
None of these
Answer
*{border: 2px solid red;}
Q.
184 Which of the following properties specify the width of the borders?
A.
border-width
B.
border-style
C.
border
D.
Both A and C
Answer
Both A and C
Q.
185 Is border-image property animatable?
A.
Yes
B.
No
C.
Both A and B.
D.
None of these
Answer
No
Q.
186 Which cursor property value indicates that the program is busy?
A.
help
B.
default
C.
auto
D.
wait
Answer
wait
Q.
187 What does this line of code explain? p {display: flex;}
A.
All the elements are displayed as a block-level flex container
B.
All the elements are not displayed by the browser
C.
All the elements are displayed as a grid container
D.
All the elements are displayed as an inline flex container
Answer
All the elements are displayed as an inline flex container
Q.
188 The text-align property defines the alignment of text in an element.
A.
horizontal
B.
vertical
C.
both horizontal & vertical
D.
None of the above
Answer
horizontal
Q.
189 Does the z-index property accept negative values?
A.
Yes
B.
No
C.
Both A and B
D.
None of the above
Answer
Yes
Q.
190 Which CSS property is not supported by the Firefox browser?
A.
text-indent
B.
scroll- behavior
C.
overflow
D.
viewport
Answer
viewport
Q.
191 Which one is a fallback font?
A.
Georgia
B.
Times New Roman
C.
Serif
D.
None of the above.
Answer
Serif
Q.
192 Where do we store external stylesheets?
A.
CSS files
B.
HTML files
C.
Folder
D.
None of these
Answer
CSS files
Q.
193 In the given line of code, identify the type of selector used. #Main {background-color: yellow;}
A.
CSS element selector
B.
CSS id selector
C.
Combinator selector
D.
All of the above.
Answer
CSS id selector
Q.
194 The Hex Code for the white color is
A.
#FFFFFF
B.
#FOFOOO
C.
#FOOOOF
D.
None of the above.
Answer
#FFFFFF
Q.
195 In CSS, what does HSL stands for?
A.
hue, standard, light
B.
height, standard, line-width
C.
hue, saturation, lightness
D.
hue, standard, line-width
Answer
hue, saturation, lightness
Q.
196 Among the following CSS properties, which property is not a shorthand property?
A.
background
B.
padding
C.
display
D.
border
Answer
display
Q.
197 In this line of code, what is the use of the alt attribute?
A.
Adds a text description to an image
B.
Provides alternative information for an image
C.
To hide an image
D.
Both A. and B.
Answer
Both A. and B.
Q.
198 The CSS border property specifies the style, color, and of an element border.
A.
length
B.
width
C.
size
D.
area
Answer
width
Q.
199 What does "padding: 50px 20px;" specifies?
A.
top padding is 50px
B.
bottom padding is 50px
C.
right padding is 20px
D.
Both A. and B.
Answer
Both A. and B.
Q.
200 What is the default size for normal text, like paragraphs?
A.
11 px
B.
12 px
C.
18 px
D.
16 px
Answer
16 px
Q.
201 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
Answer
class
Q.
202 Which of the following has introduced text, list, box, margin, border, color, and background properties?
A.
HTML
B.
PHP
C.
css
D.
Ajax
Answer
css
Q.
203 Which of the following CSS framework is used to create a responsive design?
A.
diango
B.
rails
C.
larawell
D.
bootstrap
Answer
bootstrap
Q.
204 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
Answer
font-weight: bold
Q.
205 What will be the output of following CSS code snippet?
hl {color: "greenn ; }
A.
nothings happen
B.
error occurs
C.
all h1 color is green
D.
heading becomes green
Answer
nothings happen
Q.
206 Which of the following CSS style property is used to specify an italic text?
A.
style
B.
font
C.
font-style
D.
@font-face
Answer
font-style
Q.
207 What will be the output of following CSS code snippet?
h1 {color: red text-decoration: underline; font-style: italic;}
A.
color: red, text-decoration: underline works
B.
only font-style: italic works
C.
color: red, text-decoration: underline and font-style: italic all works
D.
text-decoration: underline and font-style: italic works
Answer
only font-style: italic works
Q.
208 Which of the following are the CSS Extension Prefixes for Webkit?
A.
-chrome
B.
-web
C.
-o-
D.
-webkit
Answer
-webkit
Q.
209 Which of the following function defines a linear gradient as a CSS image?
A.
linear-gradient()
B.
gradient()
C.
grayscale()
D.
image()
Answer
linear-gradient()
Q.
210 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 section of an HTML page
D.
All of the above.
Answer
All of the above.
Q.
211 Which of the following CSS property sets the font size of text?
A.
font-size
B.
text-size
C.
text
D.
size
Answer
font-size
Q.
212 Which of the following is not the property of the CSS box model?
A.
margin
B.
color
C.
width
D.
height
Answer
color
Q.
213 What will be the output of the following CSS code snippet?
span { border: 1px solid red; outline: green dotted thick; }
A.
All span elements will have a green thick border and a red outline
B.
All span elements will have a red border and a green dotted outline
C.
All span elements will have a outer green dotted border and an inner red border
D.
All span elements will have an outer red border and inner green dotted border
Answer
All span elements will have a outer green dotted border and an inner red border
Q.
214 Which of the following CSS property sets the shadow for a box element?
A.
Set-shadow
B.
box-shadow
C.
shadow
D.
canvas-shadow
Answer
box-shadow
Q.
215 Which of the following CSS property is used to set the color of the text?
A.
text-decoration
B.
pallet
C.
colour
D.
color
Answer
color
Q.
216 Which of the following CSS Property controls how an element is positioned?
A.
static
B.
position
C.
fix
D.
set
Answer
position
Q.
217 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
Answer
border
Q.
218 Which CSS Property Sets A Background Image For An Element?
A.
Background - Color
B.
Background - Image
C.
Background - Attachment
D.
None of these
Answer
Background - Image
Q.
219 What Should Be The Table Width, so That The Width Of A Table Adjust To The Current Width Of The Browser Window?
A.
640 Pixels
B.
100%
C.
full-screen
D.
1024 PX
Answer
100%
Q.
220 When We Write <img src="img.png"> What "img.png" Inside Double Quote Implies?
A.
Value
B.
Element
C.
Attribute
D.
Operator
Answer
Value
Q.
221 The Default Value Of "position" Attribute Is
A.
Fixed
B.
Absolute
C.
Inherit
D.
Static
Answer
Static
Q.
222 Who invented css?
A.
Hakon Wium Lie
B.
Tim Berners-Lee
C.
Rasmus Lerdorf
D.
None of above
Answer
Hakon Wium Lie
Q.
223 CSS is written in which language?
A.
PHP
B.
HTML
C.
JAVA
D.
python
Answer
HTML
Q.
224 What is the latest version of css?
A.
css 1
B.
css 2
C.
css 3
D.
css 4
Answer
css 3
Q.
225 how will you make all paragraph elements red in color?
A.
p {color: red;}
B.
p.all {color: red;}
C.
all.p {color: #998877;}
D.
p.all {color: #990000;}
Answer
p {color: red;}
Q.
226 HTML document start and end with which tag pairs?
A.
<HEAD > ... </HEAD >
B.
<BODY> ... </BODY>
C.
<HTML> ... </HTML>
D.
<WEB> ... </WEB>
Answer
<HTML> ... </HTML>
Q.
227 <TITLE> ... tag must be within _______
A.
Title
B.
Form
C.
Header
D.
Body
Answer
Header
Q.
228 Text within ... <STRONG> tag is displayed as _____
A.
bold
B.
italic
C.
list
D.
indented
Answer
bold
Q.
229 Which tag is used to display the numbered list?
A.
<OL > ... </OL >
B.
<LI > ... </LI >
C.
<DL> ... </DL >
D.
<EM > ... </EM >
Answer
<OL > ... </OL >
Q.
230 <SCRIPT> tag can be placed within____
A.
Header
B.
Body
C.
none of the above
D.
both A and B
Answer
both A and B
Q.
231 using <P>tag will
A.
start a new paragraph
B.
break the line
C.
end the current paragraph
D.
none of the above
Answer
start a new paragraph
Q.
232 <TD > tag is used for ________
A.
Table heading
B.
Table Records and table data
C.
Table row
D.
None of the above.
Answer
Table Records and table data
Q.
233 Which HTML Tag will use to scroll a text in web page?
A.
< marquee> ... </marquee >
B.
< scroll> ... </scroll>
C.
< round> ... </round>
D.
< go> ... </go>
Answer
< marquee> ... </marquee >
Q.
234 WWW stands for ______.
A.
World Wide Weapon
B.
World Wide Windows
C.
World Wide Web
D.
World Wide Writers
Answer
World Wide Web
Q.
235 A homepage is __________.
A.
an index of encyclopedia articles
B.
required for access to the Internet
C.
where all Internet data is stored
D.
the first page of a website
Answer
the first page of a website
Q.
236 ____is a document commonly written in Hyper Text Markup Language (HTML) that is accessible through the Internet or other network using an internet browser.
A.
Word
B.
Web page
C.
Web site
D.
Windows
Answer
Web page
Q.
237 A web page is located using a _____.
A.
Universal Record Linking
B.
Uniform Resource Locator
C.
Universal Record Locator
D.
Uniformly Reachable Links
Answer
Uniform Resource Locator
Q.
238 A piece of icon or image on a web page associated with another webpage is called____________.
A.
url
B.
hyperlink
C.
plugin
D.
connection
Answer
hyperlink
Q.
239 ________ is a collection of web pages.
A.
Browser
B.
Internet
C.
WWW
D.
Web site
Answer
Web site
Q.
240 What is the correct HTML tag for inserting a line break?
A.
< br>
B.
<pre >
C.
< hr>
D.
< td>
Answer
< br>
Q.
241 Webpage starts with which of the following tag?
A.
<html >
B.
<hltm >
C.
<htlm >
D.
None of these
Answer
<html >
Q.
242 JPG sometimes called ________.
A.
JPEG
B.
JPGG
C.
JPEE
D.
JJP
Answer
JPEG
Q.
243 A webpage displays a picture. What tag was used to display that picture?
A.
picture
B.
image
C.
img
D.
src
Answer
img
Q.
244 < b>tag makes the enclosed text bold. What is other tag to make text bold?
A.
<strong >
B.
<dar >
C.
< del>
D.
< black>
Answer
<strong >
Q.
245 Tags and text that are not directly displayed on the page are written in _ section.
A.
<head>
B.
<body>
C.
<html>
D.
<title>
Answer
<head>
Q.
246 Which tag inserts a line horizontally on your web page?
A.
<hr>
B.
<br>
C.
<b>
D.
<del>
Answer
<hr>
Q.
247 What should be the first tag in any HTML document?
A.
<html>
B.
<body>
C.
<head>
D.
<hmtl>
Answer
<html>
Q.
248 Which tag allows you to add a row in a table?
A.
<tr> and </tr>
B.
<thead> and </thead>
C.
<th> and </th>
D.
<td> and </td>
Answer
<tr> and </tr>
Q.
249 How can you make an e-mail link?
A.
<a href="xxx@yyy">
B.
<mail="xxx@yyy">
C.
<a href="mailto:xxx@yyy">
D.
<a hre="xxx@yyy">
Answer
<a href="mailto:xxx@yyy">
Q.
250 Choose the correct HTML tag to make a text italic
A.
<i>
B.
<ii>
C.
<u>
D.
<ol>
Answer
<i>
Q.
251 To create a combo box (drop down box) which tag will you use?
A.
<select>
B.
<list>
C.
<intput type="dropdown">
D.
None of the above.
Answer
<select>
Q.
252 Which of the following is not a pair tag?
A.
<p>
B.
<li>
C.
<h1>
D.
<img>
Answer
<img>
Q.
253 To create HTML document you require.
A.
web page editing software
B.
High powered computer
C.
Just a notepad can be used
D.
None of these
Answer
Just a notepad can be used
Q.
254 The special formatting codes in HTML document used to present content are
A.
tags
B.
attributes
C.
values
D.
None of above
Answer
tags
Q.
255 HTML documents are saved in
A.
Special binary format
B.
Machine language codes
C.
ASCII text
D.
None of above
Answer
ASCII text
Q.
256 Some tags enclose the text. Those tags are known as
A.
Couple tags
B.
Single tags
C.
Double tags
D.
Pair tags
Answer
Pair tags
Q.
257 In HTML document the tags
A.
Should be written in upper case
B.
should be written in propercase
C.
should be written in lower case
D.
can be written in both uppercase or lowercase
Answer
can be written in both uppercase or lowercase
Q.
258 Marquee is a tag in HTML to
A.
mark the list of items to maintaininqueue
B.
Mark the text so that it is hidden in browser
C.
Display text with scrolling effect
D.
None of the above.
Answer
Display text with scrolling effect
Q.
259 To create a blank line in your web page
A.
press Enter two times
B.
press Shift + Enter
C.
insert < BR > tag
D.
insert < Blank > tag
Answer
insert < BR > tag
Q.
260 The way the browser displays the object can be modified by _____
A.
attributes
B.
parameters
C.
modifiers
D.
None of these
Answer
attributes
Q.
261 Which of the following HTML code is valid?
A.
<font colour="red">
B.
<font color="red">
C.
<redɬ<font>
D.
None of the above.
Answer
None of the above.
Q.
262 Which of the following is an attribute related to font tag?
A.
fontsize
B.
fontface
C.
color
D.
All of the above
Answer
All of the above
Q.
263 HTML supports
A.
ordered lists
B.
unordered lists
C.
does not support those types
D.
both type of lists
Answer
both type of lists
Q.
264 What tag is used to list individual items of an ordered list?
A.
LI
B.
OL
C.
UL
D.
None of these
Answer
LI
Q.
265 Which attribute is used withimg tag to display the text if image could not load in browser?
A.
description
B.
name
C.
alt
D.
id
Answer
alt
Q.
266 Which attribute you’ll use with TD tag to merge two cells horizontally?
A.
merge=colspan2
B.
rowspan=2
C.
colspan=2
D.
merge=row2
Answer
colspan=2
Q.
267 Which of the following is correct about Bootstrap?
A.
Bootst rap is a sleek, intuitive, and powerful, mobile first front-end framework for faster and easier web development.
B.
Bootst rap was developed by Mark Otto and Jacob Thornton at Twitter
C.
- It uses HTML, CSS and Javascript.
D.
All of the above.
Answer
All of the above.
Q.
268 Which of the following is correct about Bootstrap?
A.
Bootstrap is responsive CSS adjusts to Desktops,Tablets and Mobiles.
B.
It contains beautiful and functional built-in components which are easy to customize.
C.
- Provides a clean and uniform solution for building an interface for developers.
D.
All of the above
Answer
All of the above
Q.
269 Which of the following is a part of Mobile First Strategy of Bootstrap?
A.
Content: Determine what is most important.
B.
Layout: Design to smaller widths first. Base CSS address mobile device first; media queries address for tablet, desktops.
C.
Progressive Enhancement: Add elements as screen size increases.
D.
All of the above.
Answer
All of the above.
Q.
270 Which of the following is correct about Bootstrap Grid System?
A.
Rows must be placed within a .container class for proper alignment and padding
B.
Use rows to create horizontal groups of columns.
C.
Content should be placed within the columns, and only columns may be the immediate children of rows.
D.
All of the above
Answer
All of the above.
Q.
271 Which of the following is correct about Bootstrap Grid System?
A.
Predefined grid classes like .row and .col-xs-4 are available for quickly making grid layouts. LESS mixins can also be used for more semantic layouts.
B.
Columns create gutters (gaps between column content) via padding. That padding is offset in rows for the first and the last column via negative margin on .rows.
C.
Grid columns are created by specifying the number of twelve av
D.
All of the above.
Answer
All of the above.
Q.
272 Which of the following is correct about Bootstrap Media Query?
A.
It simply applies some CSS, based on certain conditions set forth. If those conditions are met, the style is applied.
B.
Use rows to create horizontal groups of columns
C.
Both of the above.
D.
None of the above.
Answer
It simply applies some CSS, based on certain conditions set forth. If those conditions are met, the style is applied.
Q.
273 Which of the following is correct about Bootstrap Media Query?
A.
Media queries have two parts, a device specification and then a size rule.
B.
Media Queries in Bootst rap allow you to move, show and hide content based on the viewport size.
C.
Both of the above.
D.
None of these
Answer
Both of the above.
Q.
274 Which of the following is correct about Bootstrap Mobile First Strategy?
A.
You need to add the viewport meta tag to the element, to ensure proper rendering and touch zooming on mobile devices.
B.
width property cont rols the width of the device. Setting it to device-width will make sure that it is rendered across various devices (mobiles,desktops,tablets...) properly.
C.
initial-scale=1.0 ensures that when loaded, your web page will be rendered at a 1:1 scale, and no zooming will be applied out of the box.
D.
All of the above.
Answer
All of the above.
Q.
275 Which of the following class styles a table as a nice basic table with just some light padding and horizontal dividers?
A.
.table
B.
.table-st riped
C.
.table-bordered
D.
.table-hover
Answer
.table
Q.
276 Which of the following class styles a table as a nice basic table with stripes on rows?
A.
.table
B.
.table-striped
C.
.table-hover
D.
None of the above.
Answer
.table-striped
Q.
277 Which of the following class styles a table with borders surrounding every element and rounded corners around the entire table?
A.
.table-striped
B.
.table
C.
.table-bordered
D.
None of these
Answer
.table-bordered
Q.
278 Which of the following class styles a table with a light gray background to rows while the cursor hovers over them?
A.
.table-bordered
B.
.table
C.
.table-hover
D.
None of the above.
Answer
.table-hover
Q.
279 Which of the following class applies the hover color to a particular row or cell of a table?
A.
.active
B.
.success
C.
.warning
D.
.danger
Answer
.active
Q.
280 Which of the following class indicates a successful or positive action?
A.
.active
B.
.danger
C.
.success
D.
.warning
Answer
.success
Q.
281 Which of the following class indicates a warning that might need attention?
A.
.success
B.
.active
C.
.danger
D.
.warning
Answer
.warning
Q.
282 Which of the following class indicates a dangerous or potentially negative action?
A.
.warning
B.
.success
C.
.active
D.
.danger
Answer
.danger
Q.
283 Which of the following class can be used to create a responsive table?
A.
.table-responsive
B.
.table
C.
.table-move
D.
.table-danger
Answer
.table-responsive
Q.
284 Which of the following class is required to be added to form tag to make it inline?
A.
.inline
B.
.form-inline
C.
.horizontal
D.
None of the above.
Answer
.form-inline
Q.
285 Which of the following class is required to be added to form tag to make it horizontal?
A.
.horizontal
B.
.form-horizontal
C.
.horizontally
D.
None of these
Answer
.form-horizontal
Q.
286 Which of the following bootstrap style of button creates a default/ standard button?
A.
.btn
B.
.btn-success
C.
.btn-primary
D.
.btn-info
Answer
.btn
Q.
287 Which of the following bootstrap style of button provides extra visual weight and identifies the primary action in a set of buttons?
A.
.btn
B.
.btn-info
C.
.btn-success
D.
.btn-primary
Answer
.btn-primary
Q.
288 Which class adds zebra-stripes to a table?
A.
.table-zebra
B.
.table-bordered
C.
.even and .odd
D.
.table-striped
Answer
.table-striped
Q.
289 Which class shapes an image to a circle?
A.
.img-circle
B.
.img-round
C.
.rounded-circle
D.
.img-rounded
Answer
.rounded-circle
Q.
290 Which class is used to create a big box for calling extra attention?
A.
.bigbox
B.
.jumbotron
C.
.jumbo
D.
.container
Answer
.jumbotron
Q.
291 Which button class is used to create a large button?
A.
.btn-lg
B.
.btn-xl
C.
.btn
D.
.btn-large
Answer
.btn-lg
Q.
292 Which class is used to create a button group?
A.
.btn-group
B.
.button-group
C.
.group-btn
D.
.group-button
Answer
.btn-group
Q.
293 Which class is used to create a badge?
A.
.badge-item
B.
.badge-label
C.
.label-badge
D.
.badge
Answer
.badge
Q.
294 Which class is used to create a loader?
A.
.spinner-loader
B.
.loader
C.
.spinner-border
D.
.spinner
Answer
.spinner-border
Q.
295 Which class is used to create a basic pagination?
A.
.navigation
B.
.pages
C.
.pagination
D.
.page
Answer
.pagination
Q.
296 Which class is used to create a basic list group?
A.
.group-list
B.
.list-group
C.
.grouped-list
D.
.grouped
Answer
.list-group
Q.
297 Which class adds a heading to a card?
A.
.card-heading
B.
.card-head
C.
.card-footer
D.
.card-header
Answer
.card-header
Q.
298 Which class indicates a dropdown menu?
A.
.dropdown-list
B.
.dropdown
C.
.select
D.
None of these
Answer
.dropdown
Q.
299 A standard navigation bar is created with:
A.
<nav class: "navbar navbar-default">
B.
< nav class: "navigationbar navbar-default">
C.
<nav navbar">
D.
< nav class= "navbar navbar-expand-md " >
Answer
< nav class= "navbar navbar-expand-md " >
Q.
300 Which component is used to cycle through elements, like a slideshow?
A.
Scrollspy
B.
Orbit
C.
Carousel
D.
Slideshow
Answer
Carousel
Q.
301 Which attribute is used to create a tooltip?
A.
data-toggle="popup"
B.
data-toggle="modal"
C.
data-toggle: "collapse"
D.
data-toggle="tooltip"
Answer
data-toggle="tooltip"
Q.
302 Which contextual class indicates a succesful or positive action?
A.
.bg-info
B.
.bg-success
C.
.bg-primary
D.
.bg-warning
Answer
.bg-success
Q.
303 Which contextual class indicates a dangerous or potentially negative action?
A.
.bg-primary
B.
.bg-danger
C.
.bg-info
D.
.bg-warning
Answer
.bg-danger
Q.
304 The Bootstrap grid system has four classes which defines screen size:
A.
s, sm, mid, lg
B.
xs, sm, md, lg
C.
xs, sml, mid, lg
D.
x, sm, md, lg
Answer
xs, sm, md, lg
Q.
305 Which class is use to display black navigation bar?
A.
.nav-pills
B.
.navbar-inverse
C.
.nav-stacked
D.
None of the above
Answer
.navbar-inverse
Q.
306 Which class is used to add rounded corners to an image?
A.
.img-circle
B.
.rounded
C.
Both of the above
D.
None of the above.
Answer
.rounded
Q.
307 Which of the following is true about Jumbotron?
A.
A jumbotron is displayed as a grey box with rounded corners.
B.
Jumbotron can increase the size of headings and add a lot of margin for landing page content.
C.
Both of the above
D.
None of these
Answer
Both of the above
Q.
308 The bootstrap class md means for
A.
phones
B.
tablets
C.
small laptops
D.
laptops and desktops
Answer
small laptops
Q.
309 Which class is used to create warning notification alerts in Bootstrap?
A.
.alert-danger
B.
.alert-warning
C.
.alert-info
D.
.alert-success
Answer
.alert-warning
Q.
310 Which class is used to create a button as a link in bootstrap?
A.
.btn-hyperlink
B.
.btn-link
C.
.btn-url
D.
.btn-anchor
Answer
.btn-link
Q.
311 Which of the following class is used to create thumbnail image?
A.
.img-tmbnail
B.
.img-thumb
C.
.img-thumbnail-image
D.
.img-thumbnail
Answer
.img-thumbnail
Q.
312 .img-circle class makes the entire image round by adding border-radius:_________.
A.
50%
B.
100%
C.
45%
D.
None of the above.
Answer
50%
Q.
313 The contextual classes that are used to create colored progress bar:
A.
.progress-bar-success
B.
.progress-bar-info
C.
.progress-bar-warning
D.
All of the above
Answer
All of the above
Q.
314 The .container class provides
A.
Full width container
B.
Fixed width container
C.
Table format
D.
To create a Form
Answer
Fixed width container
Q.
315 Which class creates pagination?
A.
pagination
B.
pager
C.
pagination-link
D.
link-pagination
Answer
pagination
Q.
316 Default size of H3 bootstrap heading
A.
18px
B.
30px
C.
26px
D.
24px
Answer
24px
Q.
317 Which class creates list of items?
A.
lst-group
B.
list-group
C.
menu-group
D.
list-grp
Answer
list-group
Q.
318 Default size of H2 bootstrap heading
A.
20px
B.
24px
C.
30px
D.
36px
Answer
30px
Q.
319 Which is default for a form
A.
Horizontal Form
B.
Vertical Form
C.
Inline Form
D.
None of these
Answer
Vertical Form
Q.
320 Default size of H1 bootstrap heading
A.
20px
B.
24px
C.
30px
D.
36px
Answer
36px
Q.
321 Default size of H6 bootstrap heading
A.
10px
B.
12px
C.
14px
D.
16px
Answer
12px
Q.
322 The bootstrap class xs means for
A.
phones
B.
tablets
C.
desktop
D.
larger desktops
Answer
phones
Q.
323 Bootstrap’s global default font-size is
A.
10px
B.
12px
C.
13px
D.
14px
Answer
14px
Q.
324 The Carousel plugin is a component
A.
For getting lot of icons
B.
For animation
C.
For cycling through elements like slideshow
D.
None of the above.
Answer
For cycling through elements like slideshow
Q.
325 In Bootstrap we can addfor
A.
Proper Rendering and Zooming in mobile
B.
Make SEO
C.
Make proper view of labels
D.
None
Answer
Proper Rendering and Zooming in mobile
Q.
326 What is latest version of bootstrap?
A.
version 2
B.
version 4
C.
version 3
D.
version 5
Answer
version 5
Q.
327 Bootstrap is used for
A.
Data
B.
IoT
C.
Bigdata
D.
Web applications
Answer
Web applications
Q.
328 Which class is used to create a badge danger?
A.
.badge-success
B.
.badge-warning
C.
.badge-dark
D.
.badge-danger
Answer
.badge-danger
Q.
329 Which class is used to create a pagination?
A.
.pagination
B.
.page-item
C.
.page
D.
None of these
Answer
.pagination
Q.
330 We use the ___ class to make any element fixed/stay at the top of the page when you scroll past it.
A.
.stay-top
B.
.fix-top
C.
.sticky-top
D.
.scroll-top
Answer
.sticky-top
Q.
331 The ___ class adds a scrollbar to the table when needed
A.
.table-scroll
B.
.table-navigate
C.
.table-custom
D.
.table-responsive
Answer
.table-responsive
Q.
332 In list groups, which class is used to highlight the current item?
A.
.active
B.
.current
C.
.ongoing
D.
.recent
Answer
.active
Q.
333 Which class to create border in bootstrap?
A.
.boder
B.
.border
C.
.boarder
D.
None of the above.
Answer
.border
Q.
334 In Bootstrap, content must be placed within...
A.
Columns
B.
row
C.
table
D.
None of these
Answer
Columns
Q.
335 If you want to have 3 equal columns in Bootstrap, which class would you use?
A.
.col-md-4
B.
.col-md-6
C.
.col-md-1
D.
.col-md-3
Answer
.col-md-4
Q.
336 Is it true that the Bootstrap grid system works across multiple devices?
A.
yes
B.
no
C.
some device
D.
None of these
Answer
yes
Q.
337 Which of the following is correct method to add a success button.
A.
.btn and .btn-success
B.
.btn
C.
.btn and .btn-warning
D.
.btn and .btn-suces
Answer
.btn and .btn-success
Q.
338 Which of the following class in Bootstrap is used to create an striped progress bar?
A.
.progress-bar-striped
B.
.progress-striped
C.
.progress-bar-strip
D.
None of the above
Answer
.progress-bar-striped
Q.
339 Which of the following class in Bootstrap is used for creating the small size modals?
A.
.modal-sm
B.
.modal-md
C.
.modal-lg
D.
None of the above
Answer
.modal-sm
Q.
340 How do you add shadow to elements in CSS3?
A.
box-shadow: 10px 10px 5px grey;
B.
shadow-right: 10px shadow-bottom: 10px;
C.
shadow-color: grey;
D.
alpha-effect[shadow]: 10px 10px 5px grey;
Answer
box-shadow: 10px 10px 5px grey;
Q.
341 How can you created rounded corners using CSS3?
A.
border[round]: 30px;
B.
corner-effect: round;
C.
border-radius: 30px;
D.
alpha-effect: round-corner;
Answer
border-radius: 30px;
Q.
342 How to rotate objects using CSS3?
A.
object-rotation: 30deg;
B.
transform: rotate(30deg);
C.
rotate-object: 30deg;
D.
transform: rotate-30deg-clockwise;
Answer
rotate-object: 30deg;
Q.
343 How to re-size/scale objects using CSS3?
A.
transform: scale(1.5);
B.
scale-object: 2,4;
C.
scale: (2,4);
D.
None
Answer
transform: scale(1.5);
Q.
344 __________ is a property that allows developers to add rounded corners on the design elements.
A.
Corner
B.
Box Shadow
C.
Round Corner
D.
Border-Radius
Answer
Border-Radius
Q.
345 Which of the following is correct method to add a warning button.
A.
.btn and .btn-success
B.
.btn-btnwarning
C.
.btn and .btn-warning
D.
None of these
Answer
.btn and .btn-warning
Q.
346 Which of the following class in Bootstrap is used to create an progress bar?
A.
.progress-bar-striped
B.
.progress-bar
C.
.progress-bar-success
D.
None of these
Answer
.progress-bar
Q.
347 If you want to have 4 equal columns in Bootstrap, which class would you use?
A.
.col-md-4
B.
.col-md-6
C.
.col-md-5
D.
.col-md-3
Answer
.col-md-3
Q.
348 If you want to have 2 equal columns in Bootstrap, which class would you use?
A.
.col-md-3
B.
.col-md-6
C.
.col-md-4
D.
.col-md-12
Answer
.col-md-6
Q.
349 If you want to have 6 equal columns in Bootstrap, which class would you use?
A.
.col-md-2
B.
.col-md-4
C.
.col-md-3
D.
.col-md-6
Answer
.col-md-2
Q.
350 Which class is use to fading effect to alert in bootstrap?
A.
.fade
B.
.show
C.
.progress
D.
Both A. and B.
Answer
Both A. and B.
Q.
351 Which class is use to add slider caption in bootstrap?
A.
.carousel-caption
B.
.carousel
C.
.carousel-link
D.
None of these
Answer
.carousel-caption
Q.
352 Where in an HTML document is the correct place to refer to an internal style sheet?
A.
In the <head> section
B.
At the end of the document
C.
In the <body> section
D.
None of these
Answer
In the <head> section
Q.
353 Which HTML attribute is used to define inline styles?
A.
class
B.
style
C.
styles
D.
font
Answer
style
Q.
354 Which is the correct CSS syntax?
A.
body:color=black;
B.
{body;color:black;}
C.
{body:color=black;}
D.
body {color: black;}
Answer
body {color: black;}
Q.
355 How do you add a background color for all
elements?
A.
hl .all {background-color:#FFFFFF;}
B.
hl {background-color:#FFFFFF;}
C.
all.hl {background-color:#FFFFFF;}
D.
None of these
Answer
hl {background-color:#FFFFFF;}
Q.
356 Which CSS property is used to change the text color of an element?
A.
text-color
B.
fgcolor
C.
color
D.
None of these
Answer
color
Q.
357 Which CSS property controls the text size?
A.
font-size
B.
font-style
C.
text-style
D.
text-size
Answer
font-size
Q.
358 How do you display hyperlinks without an underline?
A.
a {decoration:no-underline;}
B.
a {text-decoration:none;}
C.
a {underline:none;}
D.
a {text-decoration:no-underline;}
Answer
a {text-decoration:none;}
Q.
359 How do you display a margin like this:
The margin-top = 10 pixels The margin-bottom = 5 pixels The margin-left = 20 pixels The margin-right = 1pixel?
A.
margin: 10px 5px 20px 1px;
B.
margin: 10px 20px 5px 1px;
C.
margin: 10px 1px 5px 20px;
D.
margin: 1px 5px 20px 10px;
Answer
margin: 10px 1px 5px 20px;
Q.
360 Which property is used to change the left margin of an element?
A.
padding-left
B.
margin-left
C.
indent
D.
left
Answer
margin-left
Q.
361 When using the padding property; are you allowed to use negative values?
A.
Yes
B.
No
C.
both yes or no
D.
None of these
Answer
No
Q.
362 How do you make a list type none?
A.
list-style-type: none;
B.
list-style-type: square;
C.
ist-type: none;
D.
None of these
Answer
list-style-type: none;
Q.
363 How do you select an element with id demo?
A.
.demo
B.
#demo
C.
demo
D.
None of these
Answer
#demo
Q.
364 How do you select elements with class name test?
A.
#test
B.
classtest
C.
test
D.
.test
Answer
.test
Q.
365 What is the default value of the position property?
A.
absolute
B.
static
C.
fixed
D.
relative
Answer
static
Q.
366 Which of the following property specifies the right margin of an element?
A.
margin-right
B.
margin-left
C.
right-margin
D.
None of these
Answer
margin-right
Q.
367 How do you display the following padding:
The top padding = 10 pixels The bottom padding = 5 pixels The left padding = 20 pixels The right padding = 1pixel
A.
padding: 10px 5px 20px 1px;
B.
padding: 10px 20px 5px 1px;
C.
padding: 5px 20px 10px 1px;
D.
padding: 10px 1px 5px 20px;
Answer
padding: 10px 1px 5px 20px;
Q.
368 What property and value do we use if we want to align text to the right?
A.
text-align: right;
B.
text-align: center;
C.
text-align: left;
D.
None of these
Answer
text-align: right;
Q.
369 What property and value do we use if we want to align text to the justify?
A.
text-align: right;
B.
text-align: left;
C.
text-align:center;
D.
text-align: justify;
Answer
text-align: justify;
Q.
370 Which class adds a text white to a page?
A.
.text-white
B.
text-light
C.
Both A and B
D.
None of these
Answer
Both A and B
Q.
371 Which class helps a proper dark background in bootstrap?
A.
.bg-dark
B.
.bg-danger
C.
.bg-info
D.
.bg-warning
Answer
.bg-dark
Q.
372 which class make a spinner in bootstrap?
A.
.spinner-loader
B.
.spinner-boader
C.
.spinner-border
D.
None of these
Answer
.spinner-border
Q.
373 What does "padding: 50px 0px 20px 0px" specifies?
A.
only top and bottom
B.
only top
C.
top and right
D.
All of the above
Answer
only top and bottom
Q.
374 Which of the following CSS selectors are used to specify tag elements?
A.
.p
B.
p
C.
#p
D.
None of these
Answer
p
Q.
375 Which of the following is the property of the CSS box model?
A.
background-color
B.
color
C.
line-height
D.
height-width
Answer
height-width
Q.
376 Which of the following attribute specifies the URL of the linked resource?
A.
src
B.
link
C.
rel
D.
href
Answer
href
Q.
377 Which of the following property adds padding to the top of an element?
A.
height
B.
padding-height
C.
padding-top
D.
top
Answer
padding-top
Q.
378 Which of the following property sets a consistent margin on all four sides of the affected element?
A.
border
B.
margin
C.
padding
D.
None of these
Answer
margin
Q.
379 Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?
A.
background-scroll
B.
background-attach
C.
background-attachment
D.
background-allowance
Answer
background-attachment
Q.
380 HTML FULL FORM?
A.
HYPER TEXT MARKUP LANGUAGE
B.
HYPER MARKUP LANGUAGE
C.
HYPER TEXT MARKUP LANG
D.
HYPER TEXT MARKUP
Answer
HYPER TEXT MARKUP LANGUAGE