105
76.1k
Chapter:

140+ more mcqs Solved MCQs

in Web Technology

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Bachelor of Computer Applications (BCA) , Bachelor of Business Administration in Computer Applications (BBA [CA]) .

Chapters

More MCQs
51.

Which of the following is not a valid alignment attribute?

A. Left
B. Right
C. Top
D. Center
Answer» C. Top
52.

Which attribute is used with img tag to display the text if image could not load in browser?

A. description
B. name
C. alt
D. id
Answer» C. alt
53.

What is the full form of HTML?

A. Hyper text markup language
B. Hyphenation text markup language
C. Hyphenation test marking language
D. Hyper text marking language
Answer» A. Hyper text markup language
54.

HTML document start and end with which tag pairs?

A. <HEAD>….</HEAD>
B. <BODY>….</BODY>
C. <HTML>….</HTML>
D. <WEB>….</WEB>
Answer» C. <HTML>….</HTML>
55.

Which tag is used to create body text in HTML?

A. <HEAD>
B. <TEXT>
C. <TITLE>
D. <BODY>
Answer» D. <BODY>
56.

<TITLE> … </TITLE> tag must be within ________

A. Title
B. Form
C. Head
D. Body
Answer» C. Head
57.

Text within <EM> … </EM> tag is displayed as ________

A. bold
B. italic
C. list
D. indented
Answer» B. italic
58.

Text within <STRONG> … </STRONG> tag is displayed as ________

A. bold
B. italic
C. list
D. indented
Answer» A. bold
59.

<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» C. display the bulleted list
60.

Which tag is used to display the large font size?

A. <LARGE></LARGE>
B. <BIG></BIG>
C. < SIZE ></SIZE>
D. <FONT></FONT>
Answer» B. <BIG></BIG>
61.

<SCRIPT> … </SCRIPT> tag can be placed within ________

A. Header
B. Body
C. Both A and B
D. none of the above
Answer» C. Both A and B
62.

<TD> … </TD> tag is used for ________

A. Table heading
B. Table Records
C. Table row
D. None of the above
Answer» D. None of the above
63.

Which is true to change the text color to red?

A. <BODY BGCOLOR=”RED”>
B. <BODY TEXT=”RED”>
C. <BODY COLOR=”RED”>
D. none of the above
Answer» B. <BODY TEXT=”RED”>
64.

A homepage is __________

A. an index of encyclopedia articles
B. where all Internet data is stored
C. required for access to the Internet
D. the first page of a website
Answer» D. the first page of a website
65.

Which of the following is used to run a HTML document?

A. Browser
B. Spreadsheet
C. Clipboard
D. Draw
Answer» A. Browser
66.

Which of the following are commonly found on web pages?

A. Internet
B. hyperlinks
C. intranet
D. all of the above
Answer» B. hyperlinks
67.

Which of the following is an attribute of <Table> tag?

A. SRC
B. LINK
C. CELLPADDING
D. BOLD
Answer» C. CELLPADDING
68.

Which HTML tag would be used to display power in expression (A+B)2 ?

A. <SUP>
B. <SUB>
C. <B>
D. <P>
Answer» A. <SUP>
69.

What is <tt> tag in HTML?

A. It renders fonts as teletype text font style.
B. It renders fonts as truetype text font style.
C. It renders fonts as truncate text font style.
D. None of the Above.
Answer» A. It renders fonts as teletype text font style.
70.

Which of the following tags are related to Table in HTML ?

A. <table> <row> <column>
B. <table> <tr> <td>
C. <table> <head> <body>
D. <table> <header> <footer>
Answer» B. <table> <tr> <td>
71.

What is the use of Forms in HTML?

A. to display contents of email.
B. to display animation effect.
C. to collect user’s input.
D. None of the Above.
Answer» C. to collect user’s input.
72.

Which tag is used to lists the items with bullets?

A. <bullet>…</bullet>
B. <list>…</list>
C. <ul>…
D. <ol>…</ol>
Answer» B. <list>…</list>
73.

Which of the following is correct to align H1 tag to Right Alignment

A. <h1 align = “right”> …</h1>
B. <h1 alignment = “right”> …</h1>
C. <h1 tag align = “right”> … </h1>
D. H1 cannot make Right Alignment
Answer» A. <h1 align = “right”> …</h1>
74.

Which of the following is correct to change font face in Web Page

A. <font = “font name”> …
B. <font name = “font name”> … </font>
C. <font face = “font name”> … </font>
D. Font Face cannot change
Answer» C. <font face = “font name”> … </font>
75.

Which of the following is used to create web pages?

A. HTML
B. C
C. JVM
D. DTD
Answer» A. HTML
76.

HTML document is saved using ____ extension.

A. .htl
B. .html
C. .hml
D. .htnl
Answer» B. .html
77.

Caption Tag in HTML?

A. is used to display the Title for table at the top
B. is used to display the Title for table at the bottom
C. both
D. none
Answer» C. both
78.

CSS is an acronym for

A. Cascading Style Sheet
B. Costume Style Sheet
C. Cascading System Style
D. None of the Above
Answer» A. Cascading Style Sheet
79.

Which tag is used to display Preformatted texts?

A. <pre> … </ pre>
B. <prefor> … </ prefor>
C. <pre text> … </ pre text>
D. <pre format> … </ pre format>
Answer» A. <pre> … </ pre>
80.

Head tag is used for?

A. Writing style
B. Writing Java Script
C. Including CSS, JS Files
D. All of these
Answer» D. All of these
81.

Which of the following are the background properties in CSS? i) background-color ii) background-image iii) background-repeat iv) background-position v) background

A. i, ii, iii and iv only
B. i, ii, iii and v only
C. i, ii, iv and v only
D. All of the above
Answer» D. All of the above
82.

The different ways to associate styles with a HTML document are ……………

A. Embedded css with <style> element
B. Inline css with style attribute
C. External css with <link> element
D. All of the above
Answer» D. All of the above
83.

The ..................... specifies whether a border should be solid, dashed line, dotted line, double line, groove etc.

A. border-layout
B. border-decoration
C. border-style
D. border-weight
Answer» C. border-style
84.

Which of the following are the advantages of CSS?

A. CSS saves time
B. Page load faster
C. Easy maintenance
D. All of the above
Answer» D. All of the above
85.

A CSS style rule is made up of three parts which are …… i) Selector ii) Property iii) Value iv) Attribute

A. ii and iv only
B. ii, iii and iv only
C. i, ii and iii only
D. i, ii, iii and iv
Answer» C. i, ii and iii only
86.

Which is not the selector type of CSS?

A. ID selector
B. Universal selector
C. Class selector
D. Element selector
Answer» B. Universal selector
87.

CSS comments are inserted inside …………………

A. //...................//
B. <!..................>
C. /*..................*/
D. All of the above
Answer» C. /*..................*/
88.

...................... is used to import an external style sheet

A. @insert
B. @import
C. #import
D. #insert
Answer» C. #import
89.

The ___________ property specifies the stack order of an element

A. d-index
B. s-index
C. x-index
D. z-index
Answer» D. z-index
90.

To specify table border in CSS, ____________ property is used

A. tbl-border
B. table-border
C. tb-border
D. border
Answer» D. border
91.

______________ property specifies an image to use as the background of an element

A. backg-img
B. backg-image
C. background-img
D. background-image
Answer» D. background-image
92.

Which HTML attribute is used to define inline styles?

A. class
B. styles
C. style
D. Font
Answer» C. style
93.

The <link> tag goes inside

A. body section
B. head section
C. style section
D. title section
Answer» B. head section
94.

When does JavaScript code appear inline within an HTML file?

A. Between the “script” tag
B. Outside the “script” tag
C. Both a and b
D. None of the mentioned
Answer» A. Between the “script” tag
95.

Which is the root element in a HTML document?

A. HTML
B. HEAD
C. SCRIPT
D. BODY
Answer» A. HTML
96.

What is the default value of the type attribute in javascript?

A. text/css
B. text/javascript
C. text
D. xml
Answer» A. text/css
97.

What are the objects in Java Script?

A. Document object
B. Window object
C. Form object
D. All of the above
Answer» D. All of the above
98.

JavaScript Code can be called by using

A. RMI
B. Triggering Event
C. Preprocessor
D. Function
Answer» D. Function
99.

A hexadecimal literal begins with

A. 00
B. 0x
C. 0X
D. Both b and c
Answer» D. Both b and c
100.

The escape sequence ‘\f’ stands for

A. Floating numbers
B. Representation of functions that returns a value
C. \f is not present in JavaScript
D. Form feed
Answer» D. Form feed

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.