Chapter: HTML
101.

----elements tell the browser how to display the content

A. <html>
B. <body>
C. <!doctype>
D. <h1>
Answer» A. <html>
102.

----is the standard markup language for creating Web pages

A. <html>
B. <body>
C. <!doctype>
D. <h1>
Answer» A. <html>
103.

A browser does not display the HTML tags, but uses them to determine how to
display the document

A. yes
B. no
C. can not say
D. none of these
Answer» A. yes
104.

The HTML document itself begins with -----and ends with </html>.

A. <html>
B. <body>
C. <!doctype>
D. <h1>
Answer» A. <html>
105.

The visible part of the HTML document is between----and </body>.

A. <html>
B. <body>
C. <!doctype>
D. <h1>
Answer» B. <body>
106.

<TAGS> tages are divided into 2 types

A. paired tag & single tag
B. meta tag &verbal tag
C. order tag & sequence tag
D. none of these.
Answer» A. paired tag & single tag
107.

The-----declaration represents the document type, and helps browsers to
display web pages correctly.

A. <html>
B. <body>
C. <!doctype>
D. <h1>
Answer» C. <!doctype>
108.

The------declaration for HTML5 is:

A. <html>
B. <body>
C. <!doctype>
D. <h1>
Answer» C. <!doctype>
109.

The-------declaration is not case sensitive.

A. <html>
B. <body>
C. <!doctype>
D. <h1>
Answer» C. <!doctype>
110.

-------defines the most important heading. <h6> defines the least important
heading.

A. <H1>
B. <P>
C. <HR>
D. <pre>
Answer» A. <H1>
111.

<h1> defines the most important heading------- defines the least important
heading.

A. <H6>
B. <P>
C. <HR>
D. <pre>
Answer» A. <H6>
112.

The HTML------element defines a paragraph.

A. <H6>
B. <P>
C. <HR>
D. <pre>
Answer» B. <P>
113.

The------tag defines a thematic break in an HTML page, and is most often
displayed as a horizontal rule

A. <H6>
B. <P>
C. <HR>
D. <pre>
Answer» C. <HR>
114.

The HTML-----element defines a line break

A. <br>
B. <P>
C. <HR>
D. <pre>
Answer» A. <br>
115.

The HTML-------element defines preformatted text.

A. <H6>
B. <P>
C. <HR>
D. <pre>
Answer» D. <pre>
116.

------are used to indicate exactly how specific characters are to be formatted

A. physical tag
B. <P>
C. logical tag
D. <pre>
Answer» A. physical tag
117.

------are used to indicate to the visually impaired that there is some
emphasizes on the text.

A. physical tag
B. <P>
C. logical tag
D. <pre>
Answer» C. logical tag
118.

-----it is used to show the Bold text

A. <b>
B. <strong>
C. <i>
D. <em>
Answer» A. <b>
119.

-------it is used to show the Bold text and big font

A. <b>
B. <strong>
C. <i>
D. <em>
Answer» B. <strong>
120.

-----it is used to show the Italic text

A. <b>
B. <strong>
C. <i>
D. <em>
Answer» C. <i>
121.

------it is used to show the Emphasized text

A. <b>
B. <strong>
C. <i>
D. <em>
Answer» D. <em>
122.

-------it is used to show the Smaller text.

A. <del>
B. <small>
C. <ins>
D. <sub>
Answer» B. <small>
123.

------it is used to show the Deleted text

A. <del>
B. <small>
C. <ins>
D. <sub>
Answer» A. <del>
124.

-------it is used to show the Inserted text.

A. <del>
B. <small>
C. <ins>
D. <sub>
Answer» C. <ins>
125.

-------it is used to show the Subscript text.

A. <del>
B. <small>
C. <ins>
D. <sub>
Answer» D. <sub>
126.

-------it is used to show the Superscript text.

A. <del>
B. <small>
C. <ins>
D. <sup>
Answer» D. <sup>
127.

The----tag is used to create the table in html

A. <table>
B. <caption>
C. <link>
D. hyperlinks
Answer» A. <table>
128.

The -------tag is used to create a table caption

A. <table>
B. <caption>
C. <link>
D. hyperlinks
Answer» B. <caption>
129.

The-------starts at the ((Source)) anchor and points to the ((Destination))
anchor. These LINKIS are called as hyperlinks

A. <table>
B. <caption>
C. <link>
D. hyperlinks
Answer» C. <link>
130.

-----is a connection from one web resource to another.

A. <table>
B. <caption>
C. <link>
D. hyperlinks
Answer» C. <link>
131.

-------allow visitors to navigate between websites by clicking on words, phrases,
and images

A. <table>
B. <caption>
C. <link>
D. hyperlinks
Answer» D. hyperlinks
132.

-------To create a link to another documents by using href attribute

A. <a>
B. <caption>
C. <link>
D. hyperlinks
Answer» A. <a>
133.

--------is the attribute use to specify the destination address of the link used.

A. <table>
B. <caption>
C. <link>
D. href
Answer» D. href
134.

To use an image as a link, just put the------tag inside the <a> tag:

A. <table>
B. <img>
C. <link>
D. href
Answer» B. <img>
135.

The HTML---------element defines a section that is quoted from another source.

A. <blockquote>
B. <img>
C. <link>
D. href
Answer» A. <blockquote>
136.

The HTML------tag defines the title of a creative work (e.g. a book, a poem, a
song, a movie, a painting, a sculpture, etc.).

A. <blockquote>
B. <cite>
C. <link>
D. href
Answer» B. <cite>
137.

------it is used to show the comments in html .

A. <blockquote>
B. <!-->
C. <link>
D. href
Answer» B. <!-->
138.

The-----element is a block element, and will always start on a new line and
take up the full width available.

A. <blockquote>
B. <bgcolor>
C. <link>
D. Div
Answer» D. Div
139.

The-----element is an inline element, and will not start on a new line and only
takes up as much width as necessary

A. <blockquote>
B. <bgcolor>
C. <span>
D. Div
Answer» C. <span>
140.

The HTML-----attribute is used to specify a class for an HTML element.

A. <blockquote>
B. <class>
C. <span>
D. Div
Answer» B. <class>
141.

The -------attribute is often used to point to a class name in a style sheet. It can
also be used by a JavaScript to access and manipulate elements with the specific class name.

A. <blockquote>
B. <class>
C. <span>
D. Div
Answer» B. <class>
142.

The HTML------element is used to create an HTML form for user input.

A. <blockquote>
B. <form>
C. <span>
D. Div
Answer» B. <form>
143.

The-----tag is used to show the message to the user .

A. <text>
B. <label>
C. <checkbox>
D. <radio button>
Answer» B. <label>
144.

The <input type="-------"> defines a checkbox it is used to give no of option and
we have to select more then one option.

A. <text>
B. <label>
C. <checkbox>
D. <radio button>
Answer» C. <checkbox>
145.

The <input type="radio"> defines a -------it is used to give no of option and we
have to select only one option.

A. <text>
B. <label>
C. <checkbox>
D. <radio button>
Answer» D. <radio button>
146.

The <input type="-----"> defines a button for submitting the form data .

A. <text>
B. <label>
C. <checkbox>
D. <submit>
Answer» D. <submit>
147.

The-----element defines a drop-down list.

A. <text>
B. <select>
C. <checkbox>
D. <submit>
Answer» B. <select>
148.

-------tag is used to move the text form left to right or right or left.

A. <marquee>
B. <select>
C. <checkbox>
D. <submit>
Answer» A. <marquee>
149.

-----tag is used to give the font effect like size , color and style.

A. <font>
B. <select>
C. <checkbox>
D. <submit>
Answer» A. <font>
150.

------it is used to show the text in small font effect.

A. <small>
B. <big>
C. <strike>
D. <u>
Answer» A. <small>
151.

--------it is used to show the text in big size font effect.

A. <small>
B. <big>
C. <strike>
D. <u>
Answer» B. <big>
152.

------it is used to strike out that line or text .

A. <small>
B. <big>
C. <strike>
D. <u>
Answer» C. <strike>
153.

------tag is used to show the underline effect to the text.

A. <small>
B. <big>
C. <strike>
D. <u>
Answer» D. <u>
154.

------tag is used to show the definition in html document.

A. <dfn>
B. <big>
C. <strike>
D. <u>
Answer» A. <dfn>
155.

-----tag is used to show the code sample in html document

A. <code>
B. <var>
C. <cite>
D. <kbd>
Answer» A. <code>
156.

------tag is used to show variable font in html document.

A. <code>
B. <var>
C. <cite>
D. <kbd>
Answer» B. <var>
157.

------tag is used to show the citation or quote in html document .

A. <code>
B. <var>
C. <cite>
D. <kbd>
Answer» C. <cite>
158.

------tag is used to show the keyboard tag in html document

A. <code>
B. <var>
C. <cite>
D. <kbd>
Answer» D. <kbd>
159.

------tag is used to show bold and big in size in html document.

A. <em>
B. <tr>
C. <th>
D. <strong>
Answer» D. <strong>
160.

-----tag is used to show the highlight text(bold) with italic font in html
document.

A. <em>
B. <tr>
C. <th>
D. <strong>
Answer» A. <em>
Chapter: CSS
161.

----stands for Cascading Style Sheets.

A. CSS
B. inline
C. internal
D. external
Answer» A. CSS
162.

-----describes how HTML elements are to be displayed on screen, paper, or in other
media.

A. CSS
B. inline
C. internal
D. external
Answer» A. CSS
163.

------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
164.

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
165.

An-----CSS is defined in the <head> section of an HTML page, within
a <style> element:

A. CSS
B. inline
C. internal
D. external
Answer» C. internal
166.

With an--------style sheet, you can change the look of an entire web site, by
changing one file!

A. CSS
B. inline
C. internal
D. external
Answer» D. external
167.

An external style sheet can be written in any text editor. The file must not contain
any HTML code, and must be saved with a -------extension.

A. .CSS
B. .TXT
C. .JS
D. .XLS
Answer» A. .CSS
168.

The CSS-------property defines the text color to be used.

A. color
B. font-family
C. font -size
D. border
Answer» A. color
169.

The CSS------property defines the font to be used.

A. color
B. font-family
C. font -size
D. border
Answer» B. font-family
170.

The CSS---------property defines the text size to be used.

A. color
B. font-family
C. font -size`
D. border
Answer» C. font -size`
171.

The CSS-------property defines a border around an HTML element:

A. color
B. font-family
C. font -size`
D. border
Answer» D. border
172.

The CSS--------property defines a margin (space) outside the border

A. color
B. font-family
C. font -size`
D. Margin
Answer» D. Margin
173.

To define a style for special types of elements, add a-----attribute is apply to the
element

A. color
B. font-family
C. font -size`
D. class
Answer» D. class
174.

-------are used to explain the code, and may help when you edit the source code at
a later date.

A. color
B. font-family
C. font -size`
D. comments
Answer» D. comments
175.

------are ignored by browsers.

A. color
B. font-family
C. font -size`
D. comments
Answer» D. comments
176.

------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
177.

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" >
178.

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
179.

The property in CSS used to change the text-----of an element is
Sol:
-

A. bgcolor
B. color
C. background-color
D. All of the above
Answer» B. color
180.

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
181.

The HTML attribute used to define the inline------is -

A. style
B. styles
C. class
D. None of the above
Answer» A. style
182.

The HTML attribute used to define the internal style sheet is ------

A. <style>
B. style
C. <link>
D. <script>
Answer» B. style
183.

Which of the following CSS property is used to set the background image of an
element?

A. background-attachment
B. background-image
C. background-color
D. None of the above
Answer» B. background-image
184.

Which of the following is the correct syntax to make the background-color of all
paragraph elements to yellow?

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;}
185.

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;}
186.

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
187.

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
188.

Are the negative values allowed in padding property?

A. Yes
B. No
C. Can't say
D. May be
Answer» A. Yes
189.

Which of the following property is used as the shorthand property of margin
properties?

A. margin-left
B. margin-right
C. margin
D. None of the above
Answer» C. margin
190.

The CSS property used to specify the transparency of an element is

A. opacity
B. filter
C. visibility
D. overlay
Answer» C. visibility
191.

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
192.

The-----CSS is also a method to insert style sheets in HTML document. This
method mitigates some advantages of style sheets so it is advised to use this method sparingly.

A. CSS
B. inline
C. internal
D. external
Answer» B. inline
193.

-----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
194.

-----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>
195.

----tag is used to display the bullet wise list in unordered wise.

A. <meta>
B. <ul>
C. <ol>
D. <map>
Answer» A. <meta>
196.

-----tag is used to specify the page description ,keyword, author name, it is
additional information about the information.

A. <meta>
B. <ul>
C. <ol>
D. <map>
Answer» A. <meta>
197.

-----tag is used to define the list item.

A. <li>
B. <ul>
C. <ol>
D. <map>
Answer» A. <li>
198.

-----is used to define the width of border while cellpadding define distance between
cell border and content within it .

A. <cellspacing>
B. <ul>
C. <ol>
D. <map>
Answer» A. <cellspacing>
199.

cellspacing is used to define the width of border while------define distance
between cell border and content within it .

A. <cellspacing>
B. <cellpadding>
C. <ol>
D. <map>
Answer» B. <cellpadding>
200.

------tag is used to declaring the title or name of the html document.

A. <body>
B. <title>
C. <head>
D. <center>
Answer» B. <title>
Tags
  • Question and answers in Web Technology,
  • Web Technology multiple choice questions and answers,
  • Web Technology Important MCQs,
  • Solved MCQs for Web Technology,
  • Web Technology MCQs with answers PDF download