Chapter: Web Essentials
1.

The tag used to create a hypertext relationship between current document and another URL is

A. <isindex>
B. <a>
C. <link>
D. none of these
Answer» C. <link>
2.

How can you make an e-mail link?

A. <mail href +"xxx@y.com">
B. <a href ="mail to:xxx@y.com">
C. <a href = "xxx@y.com">
D. both (b) and (c)
Answer» B. <a href ="mail to:xxx@y.com">
3.

To create a combo box (drop down box) which tag will you use?

A. <select>
B. <list>
C. <input type="dropdown">
D. all of above
Answer» A. <select>
4.

HTML stands for?

A. hyper text markup language
B. high text markup language
C. hyper tabular markup language
D. none of these
Answer» A. hyper text markup language
5.

Which of the following tag is used to mark a beginning of Paragraph?

A. <td>
B. <br>
C. <p>
D. <tr>
Answer» C. <p>
6.

Correct HTML tag for the largest heading is

A. <head>
B. <heading>
C. <h6>
D. <h1>
Answer» D. <h1>
7.

The attribute of <form> tag

A. method
B. action
C. both (a)&(b)
D. none of these
Answer» C. both (a)&(b)
8.

Web pages starts with which off the following tag?

A. <body>
B. <title>
C. <html>
D. <form>
Answer» C. <html>
9.

How can you open a link in a new browser window?

A. < a href = "url" target = "new">
B. <a href = "url" target= "_blank">
C. <a href = "url".new>
D. <a href = "url" target ="open">
Answer» B. <a href = "url" target= "_blank">
10.

The tag used to create a new list item and also include a hyperlink is

A. <li>
B. <dl>
C. <dd>
D. <ul>
Answer» A. <li>
11.

Which of the tag is used to creates a number list?

A. <li>
B. <ol>
C. <li> and <ol>
D. none of these
Answer» C. <li> and <ol>
12.

The tag used to create a hypertext relationship between current document and another URL is

A. <isindex>
B. <a>
C. <link>
D. none of these
Answer» C. <link>
13.

The text inside the <TEXT AREA> tag works like

A. <p> formatted text
B. <t> formatted text
C. <pre> formatted text
D. none of these
Answer» C. <pre> formatted text
14.

What is the correct HTML for adding a background color?

A. <background>yellow<background>
B. <body color = "yellow">
C. <body bgcolor = "yellow">
D. <body bg ="yellow"
Answer» C. <body bgcolor = "yellow">
15.

Which tag allows you to add a row in a table?

A. <td> and </td>
B. <cr> and </cr>
C. <th> and </th>
D. <tr> and </tr>
Answer» D. <tr> and </tr>
16.

How can you make a bulleted list?

A. <list>
B. <nl>
C. <ul>
D. <ol>
Answer» C. <ul>
17.

Choose the correct HTML tag to make a text italic

A. <ii>
B. <italics>
C. <italic>
D. <i>
Answer» D. <i>
18.

Choose the correct HTML tag to make a text bold?

A. <b>
B. <bold>
C. <bb>
D. <bld>
Answer» A. <b>
19.

Which tag creates a check box for a form in HTML?

A. <checkbox>
B. <input type="checkbox">
C. <input=checkbox>
D. <input checkbox>
Answer» B. <input type="checkbox">
20.

Which of the following attributes is used to specify elements to bind style rules to?

A. id
B. class
C. tag
D. all of the mentioned
Answer» D. all of the mentioned
21.

Which selector is used to specify a rule to bind a particular unique element?

A. id
B. class
C. tag
D. both class and tag
Answer» A. id
22.

__________ has introduced text, list, box, margin, border, color, and background properties.

A. css
B. selector
C. declaration
D. text color
Answer» A. css
23.

The _______property is used to set the color of the text. Answer:- Text color

A. css
B. selector
C. declaration
D. text color
Answer» D. text color
24.

The CSS __________properties is used to define the background effects. Answer:- background

A. css
B. selector
C. background
D. text color
Answer» C. background
25.

_______ is a platform independent light weighted objet based scripting language.

A. java script
B. head
C. number ,string & boolean
D. none of these
Answer» A. java script
26.

JavaScript support three primitive data types: ___________.

A. java script
B. head
C. number ,string & boolean
D. none of these
Answer» C. number ,string & boolean
27.

JavaScript allows two composite data types: __________

A. objects and array
B. head & title
C. number & boolean
D. none of these
Answer» A. objects and array
28.

The script tag must be place in the ______.

A. title
B. head
C. body
D. none of these
Answer» B. head
29.

_________ keyword is used to declare variables in java script

A. dim
B. head
C. var
D. none of these
Answer» C. var
30.

DOM stand for ___________

A. document object model
B. document object memory
C. document oriented memory
D. none of these
Answer» A. document object model
31.

________ java script is also called server side java script

A. java script
B. object based scripting language
C. nevigator
D. live wire
Answer» D. live wire
32.

Increment operator, increases the value of variable by what number?

A. 1
B. 2
C. 3
D. 4
Answer» A. 1
33.

FUCTION is a block of statements that performs certain task.

A. true
B. false
C. both a and b
D. none of these ..
Answer» A. true
Chapter: Markup Languages
34.

__________means the amount of data that can be sent from one point to another in a certain period of time

A. bandwidth
B. html
C. href
D. none of these
Answer» A. bandwidth
35.

HTML color are specified using predefined color names or ________ values.

A. rgb,
B. rgba
C. hsla
D. all of these
Answer» D. all of these
36.

HTML supports__________ standard color names.

A. 140
B. 3
C. 120
D. 7
Answer» A. 140
37.

____this tag is used to give paragraph

A. <p>
B. br
C. <pre>
D. <marquee>
Answer» A. <p>
38.

________ tag is used to brake the line it is single tag

A. <p>
B. <br>
C. <pre>
D. <marquee>
Answer» B. <br>
39.

________ is pre formatted tags it is used ,it show the without formatted text .

A. <p>
B. br
C. <pre>
D. <marquee>
Answer» C. <pre>
40.

__________tag is used to create a scrolling effect to th selected text

A. <p>
B. <br>
C. <pre>
D. <marquee>
Answer» D. <marquee>
41.

__________ element is used to indicate text quoted from another source.

A. <blockquote>
B. br
C. <pre>
D. <marquee>
Answer» A. <blockquote>
42.

_______- it is used to show list by order wise .

A. <ol>
B. br
C. <pre>
D. <marquee>
Answer» A. <ol>
43.

_____________ it is used to show list by no particular order wise .it show bulleted wise .

A. <ul>
B. br
C. <pre>
D. <marquee>
Answer» A. <ul>
44.

________it is a comment , it is used to show additional information in html.

A. <!---->
B. br
C. <pre>
D. <marquee>
Answer» A. <!---->
45.

_________ it is italic tag , it is used to show the italic font.

A. <i>
B. br
C. <pre>
D. <marquee>
Answer» A. <i>
46.

_________ it is used to display a font in a bigger font size .

A. <big>
B. br
C. <pre>
D. <marquee>
Answer» A. <big>
47.

_________ this definition tag is used to define the concept .

A. <def>
B. br
C. <pre>
D. <marquee>
Answer» A. <def>
48.

________citation tag is used to display a citation in html document .

A. <cite>
B. br
C. <pre>
D. <marquee>
Answer» A. <cite>
49.

Tag is divided into 2 tags

A. physical
B. logical
C. center tag
D. a and b b both
Answer» D. a and b b both
50.

__________ this tag is used to make taxt to be aligned cantered.

A. <p>
B. <center>
C. <pre>
D. <marquee>
Answer» B. <center>
51.

To link to the another web site following link is used <a href="https://www.lokmat.com/html/">Visit our lokamat paper </a>

A. true
B. false
C. both a and b
D. none of these.
Answer» A. true
52.

________ the space between is the space between content of the cell and cell wall .

A. <p>
B. <center>
C. cell spacing
D. <marquee>
Answer» C. cell spacing
53.

__________ of the table is used to specify the thickness of the table.

A. border
B. <center>
C. cell spacing
D. <marquee>
Answer» A. border
54.

_____tag is used to create the rows in a table

A. <tr>
B. <th>
C. <frameset>
D. <a>
Answer» A. <tr>
55.

__________tag is used to create the table heading of the table

A. <tr>
B. <th>
C. <frameset>
D. <a>
Answer» B. <th>
56.

To make a cell span more than one column, it is called use the _______attribute

A. <tr>
B. colspan
C. <frameset>
D. rowspan
Answer» B. colspan
57.

To make a cell span more than one row, it is called use the _______ attribute.

A. <tr>
B. colspan
C. <frameset>
D. rowspan
Answer» D. rowspan
58.

__________ is used to manage the layout the page.

A. <tr>
B. colspan
C. <frame>
D. rowspan
Answer» C. <frame>
59.

In html __________ is used to divide the browser the screen into 2 or more then one part.

A. <tr>
B. columun
C. frame
D. rowspan
Answer» C. frame
60.

______ tag is devide the tag horizontally or vertically .

A. <tr>
B. colspan
C. <frameset>
D. rowspan
Answer» C. <frameset>
61.

___________stands for Transmission Control Protocol/Internet Protocol

A. tcp/ip
B. ftp
C. physical
D. hyperlink
Answer» A. tcp/ip
62.

________is a set of standardized rules that allow computers to communicate on a network such as the internet.

A. tcp/ip
B. ftp
C. physical
D. hyperlink
Answer» A. tcp/ip
63.

The __________ is a standard network protocol used for the transfer of computer files between a client and server on a computer network

A. tcp/ip
B. ftp
C. physical
D. hyperlink
Answer» B. ftp
64.

The ____________element contains meta information about the HTML page

A. <head>
B. ftp
C. physical
D. hyperlink
Answer» A. <head>
65.

The ________element defines the document's body, and is a container for all
the visible contents, such as headings, paragraphs, images, hyperlinks, tables,
lists, etc.

A. <head>
B. <body>
C. physical
D. hyperlink
Answer» B. <body>
66.

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

A. tcp/ip
B. ftp
C. physical
D. hyperlink
Answer» C. physical
67.

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

A. <head>
B. <body>
C. physical
D. hyperlink
Answer» D. hyperlink
68.

_______it is used to To create a link to another documents by using href attribute

A. <a>
B. checkbox
C. <textarea>
D. <text>
Answer» A. <a>
69.

__________accept only true or false we can select more then one option out of given option

A. <a>
B. checkbox
C. <textarea>
D. <text>
Answer» B. checkbox
70.

_________it is used to give the show the input box with multiple rows and column.

A. <a>
B. checkbox
C. <textarea>
D. <text>
Answer» C. <textarea>
71.

__________- accept the any text in intput box..

A. <a>
B. checkbox
C. <textarea>
D. <text>
Answer» D. <text>
72.

_____________it is used to submit the button ( accept the data) to upload

A. <submit>
B. checkbox
C. <textarea>
D. <text>
Answer» A. <submit>
73.

____________ it is used with text , when we use to hide the text matter

A. <password>
B. checkbox
C. <textarea>
D. <text>
Answer» A. <password>
Chapter: Function and String in PHP
74.

Which data type value is returned by all transcendental math functions?

A. int
B. float
C. double
D. long
Answer» C. double
75.

Which of these values can a boolean variable contain?

A. true & false
B. 0 & 1
C. any integer value
D. true
Answer» A. true & false
76.

Decrement operator, −−, decreases the value of variable by what number?

A. 1
B. 2
C. 3
D. 4
Answer» A. 1
77.

Which right shift operator preserves the sign of the value?

A. <<
B. >>
C. <<=
D. >>=
Answer» B. >>
78.

What is the output of relational operators?

A. integer
B. boolean
C. characters
D. double
Answer» B. boolean
79.

. Which of these is returned by “greater than”, “less than” and “equal to” operators?

A. integers
B. floating – point numbers
C. boolean
D. none of the mentioned
Answer» C. boolean
80.

Which of these jump statements can skip processing the remainder of the code in its body for a particular iteration?

A. break
B. return
C. exit
D. continue
Answer» D. continue
81.

Which of the following is not a decision making statement?

A. if
B. if-else
C. switch
D. do-while
Answer» D. do-while
82.

Which of the following is not a valid flow control statement?

A. exit()
B. break
C. continue
D. return
Answer» A. exit()
83.

What is the range of short data type in Java script ?

A. -128 to 127
B. -32768 to 32767
C. -2147483648 to 2147483647
D. none of the mentioned
Answer» B. -32768 to 32767
84.

What is the range of byte data type in Java script?

A. -128 to 127
B. -32768 to 32767
C. -2147483648 to 2147483647
D. none of the mentioned
Answer» A. -128 to 127
85.

An expression involving byte, int, and literal numbers is promoted to which of these?

A. int
B. long
C. byte
D. float
Answer» A. int
86.

What is the numerical range of a char data type in Java script?

A. -128 to 127
B. 0 to 256
C. 0 to 32767
D. 0 to 65535
Answer» D. 0 to 65535
87.

Which of these coding types is used for data type characters in Java script?

A. ascii
B. iso-latin-1
C. unicode
D. none of the mentioned
Answer» C. unicode
88.

Which one is a valid declaration of a Boolean?

A. boolean b1 = 1;
B. boolean b2 = ‘false’;
C. boolean b3 = false;
D. boolean b4 = ‘true’
Answer» C. boolean b3 = false;
89.

Which of these operators is used to allocate memory to array variable in Java script?

A. malloc
B. alloc
C. new
D. new malloc
Answer» C. new
90.

Which of these is an incorrect array declaration?

A. intarr[] = new int[5]
B. int [] arr = new int[5]
C. intarr[] = new int[5]
D. intarr[] = int [5] new
Answer» D. intarr[] = int [5] new
91.

Which of these is necessary to specify at time of array initialization?

A. row
B. column
C. both row and column
D. none of the mentioned
Answer» A. row
92.

Which of the following can be operands of arithmetic operators?

A. numeric
B. boolean
C. characters
D. both numeric & characters
Answer» D. both numeric & characters
93.

Modulus operator, %, can be applied to which of these?

A. integers
B. floating – point numbers
C. both integers and floating – point numbers
D. none of the mentioned
Answer» C. both integers and floating – point numbers
94.

Which operator is used to invert all the digits in a binary representation of a number?

A. ~
B. <<<
C. >>>
D. ^
Answer» A. ~
95.

On applying Left shift operator, <<, on integer bits are lost one they are shifted past which position bit?

A. 1
B. 32
C. 33
D. 31
Answer» D. 31
96.

Which of these operators can skip evaluating right hand operand?

A. !
B. none of the mentioned
C. &
D. &&
Answer» D. &&
97.

Which of these have highest precedence?

A. ()
B. ++
C. *
D. >>
Answer» A. ()
98.

Which of these statements are incorrect?

A. equal to operator has least precedence
B. brackets () have highest precedence
C. division operator, /, has higher precedence than multiplication operator
D. addition operator, +, and subtraction operator have equal precedence
Answer» D. addition operator, +, and subtraction operator have equal precedence
99.

Which of these selection statements test only for equality?

A. if
B. switch
C. if & switch
D. none of the mentioned
Answer» B. switch
100.

. Which of these are selection statements in Java script?

A. if()
B. for()
C. continue
D. break
Answer» A. if()
Tags
Question and answers in Web Technologies, Web Technologies multiple choice questions and answers, Web Technologies Important MCQs, Solved MCQs for Web Technologies, Web Technologies MCQs with answers PDF download