CBSE Class 10 Computer Application code 165 Unit 2 HTML I MCQ’s – Set 15


By Anjeev Kr Singh – Computer Science Educator
Published on : December 7, 2021 | Updated on : December 22, 2021

Class 10 Computer Application Code 165

Unit 2 : HTML – 1 [FORMS]



Multiple Choice Questions [Unit 2 – HTML-I Set 15]


281. The __________ attribute of <INPUT> text box, is use to set the maximum number of characters a user can enter into the text box.

a. value

b. length

c. size

d. maxlength

Answer: d. maxlength


282. The ________ box control, mask the input i.e. hides the characters.

a. text box

b. password box

c. radio button

d. checkbox

Answer: b. password box


283. What is the value of type in case of password box?

a. text

b. password

c. radio

d. checkbox

Answer: b. password


284. Identify the valid HTML command to create password box ?

a. <input type = “text” name=”pass”>

b. <input type = “pass” name =”pwrod”>

c. <input type = “passwordbox” name “pword”>

d. <input type = “password” name “pword”>

Answer: d. <input type = “password” name “pword”>


285. Multi-line text input control is known as _________ in HTML?

a. Multi-Line Text Box

b. More-Line Text Box

c. Textarea

d. None of these

Answer: c. Textarea


286. A multiple-line text input control can be created by using _________ element.

a. <TEXT AREA>

b. <TEXTAREA>

c. <AREATEXT>

d. None of these

Answer: b. <TEXTAREA>


287. <TEXTAREA> element is a _________ type of element.

a. container

b. empty

c. closing tag is optional

d. None of these

Answer: a. container


288. Which of following attributes belongs to <TEXTAREA> element ?

a. cols

b. rows

c. name

d. All of these

Answer: d. All of these


289. _______ attribute of <TEXTAREA> element is indicates the number of rows.

a. cols

b. rows

c. name

d. All of these

Answer: b. rows


290. _______ attribute of <TEXTAREA> element is indicates the number of columns.

a. cols

b. rows

c. name

d. All of these

Answer: a. cols


291. Identify the given figure is ___________.

a. text box

b. password box

c. text area

d. All of these

Answer: c. textarea


292. In HTML, clickable buttons are created by using

a. INPUT tag.

b. Button tag

c. Both (a) and (b)

d. None of these

Answer: c. Both (a) and (b)


293. <INPUT> tag can be use to create a button in HTML. You need to only change the value _______ attribute.

a. type

b. name

c. value

d. All of these

Answer: a. type


294. The type attribute of <INPUT> element can take _______ value.

a. submit

b. reset

c. button

d. All of these

Answer: d. All of these


295. Identify which of the following HTML statement is valid for creating a button in HTML.

a. <input type = “submit” name=”Submit” value = “Submit” />

b. <input type = “reset” name=”Reset” value = “Reset” \>

c. <input type = “button” value = “Button” />

d. All of these

Answer: d. All of these


296. The default value (i.e. text appear upon the button) of ‘submit’ button is __________.

<input type=”submit”>

a. Submit

b. Blank / Empty

c. No Default Value , Error will raise

d. None of these

Answer: a. Submit


297. The default value (i.e. text appear upon the button) of ‘reset’ button is __________.

<input type=”reset”>

a. Reset

b. Blank / Empty

c. Submit

d. Button

Answer: a. Reset


298. The default value (i.e. text appear upon the button)of ‘button’ type button is __________.

<input type=”button”>

a. Reset

b. Blank / Empty / No value

c. Submit

d. Button

Answer: b. Blank / Empty / No Value


299. Which of the following tags will clear the contents of the form?

a. <input type=”clear” value=”Clear the form”>

b. <input type=”submit” value=”Clear the form”>

c. <input type=”reset” value=”Clear the form”>

d. <input type=”button” value=”Clear the form”>

Answer: c. <input type=”reset” value=”Clear the form”>


300. The <input> tag has several kinds of controls which are dictated by the ______ attribute.

a. src

b. value

c. name

d. type

Answer: d. type



More MCQ’s will be by 07-12-2021 11:00 pm.

Class 10 Computer Application Code 165 HTML – I MCQ’s


Class 10 Computer Application Code 165 Cyber Ethics MCQ’s


About the Author

Anjeev Kr Singh

Anjeev Kr Singh

Computer Science Educator, Author, and HOD. Guiding CBSE students in CS, IP, IT, WA & AI via mycstutorial.in. Creator of Question Bank for Class 10 & 12 students.

You cannot copy content of this page

Scroll to Top