Primary 3 Exam  >  Primary 3 Tests  >  Test: HTML Input Types - Primary 3 MCQ

Test: HTML Input Types - Primary 3 MCQ


Test Description

10 Questions MCQ Test - Test: HTML Input Types

Test: HTML Input Types for Primary 3 2024 is part of Primary 3 preparation. The Test: HTML Input Types questions and answers have been prepared according to the Primary 3 exam syllabus.The Test: HTML Input Types MCQs are made for Primary 3 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: HTML Input Types below.
Solutions of Test: HTML Input Types questions in English are available as part of our course for Primary 3 & Test: HTML Input Types solutions in Hindi for Primary 3 course. Download more important topics, notes, lectures and mock test series for Primary 3 Exam by signing up for free. Attempt Test: HTML Input Types | 10 questions in 10 minutes | Mock test for Primary 3 preparation | Free important questions MCQ to study for Primary 3 Exam | Download free PDF with solutions
Test: HTML Input Types - Question 1

What is the default type of ‘type’ attribute of <input> element?

Detailed Solution for Test: HTML Input Types - Question 1

Text input type defines single line text field. Type is the attribute that displays type of <input> elements. Its default type is text. It is supported by most of the browsers like Chrome, Internet Explorer, Firefox, Opera. Syntax is: <form action=”jump.php”> Name:<input type=”text” name=”name”> </form> A password field is defined by password input.

Test: HTML Input Types - Question 2

How does the color attribute work?

Detailed Solution for Test: HTML Input Types - Question 2

color is the attribute of <input> element introduce by HTML5. It defines the color picker i.e we can select a color of our choice from the color picker. Syntax is Select the color that you want: <input type=”color” name=”favorite color”>

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: HTML Input Types - Question 3

Which attribute defines the file-select field?

Detailed Solution for Test: HTML Input Types - Question 3

file input type defines a file-select field, also gives a “Browse” button for file uploads. Syntax is <input type=”file” name=”image”>. Checkbox gives the facility to select one or more than one options from the given choices. The button activates JavaScript code. The text defines a single-line text field.

Test: HTML Input Types - Question 4

month attribute defines ___________

Detailed Solution for Test: HTML Input Types - Question 4

month and year are defined by month attribute. It does not define the time zone. The syntax is Anniversary (month and year) <input=”month” name=”anniversary month” >., date attribute defines the date, datetime-local defines date and time but no time zone.

Test: HTML Input Types - Question 5

tel attribute is supported by the _________ browser.

Detailed Solution for Test: HTML Input Types - Question 5

tel is the attribute which specifies field for telephone number. Syntax is <form action=”hkjk.php”> Telephone number: <input type=”tel” name=”usertelephone”> <br> <input type=”submit”> </form>, tel attribute is usually supported by newer versions like Safari 8.

Test: HTML Input Types - Question 6

Which of the following is not used with password attribute?

Detailed Solution for Test: HTML Input Types - Question 6

password is the attribute that creates a text box which is similar to the single line text input, but the characters are blocked out. They are hidden due to the privacy of the user. The name attribute with a password set the name of the password input, size and maxlength attributes define the size and maximum length of the text box which is to be used for the password.

Test: HTML Input Types - Question 7

Which attribute is not used for the radio type?

Detailed Solution for Test: HTML Input Types - Question 7

When we want to pick one option from the given many options we use radio type. Name attribute sent the value of the option selected to the server. Value attribute indicates the value that has been sent to the server for the selected option. The checked attribute indicates that which value should be selected on the loading of the page.

Test: HTML Input Types - Question 8

Which of the following is a new input attribute introduce by HTML5?

Detailed Solution for Test: HTML Input Types - Question 8

HTML4 has attributes with <input> elements like radio buttons, Checkbox controls, submit buttons, text input etc.
HTML5 has introduced new attributes like date, color, month, time, week, datetime-local, email, number, range, tel, url, search etc.

Test: HTML Input Types - Question 9

Which attribute is used for activation of JavaScript?

Detailed Solution for Test: HTML Input Types - Question 9

Input type button is used for the activation of JavaScript on the clicking of the button. Its syntax is <input type=”button” value=”click” onclick=”source()”>. This will display a button named click and when we click that button JavaScript function source() will be invoked.

Test: HTML Input Types - Question 10

How image attribute works?

Detailed Solution for Test: HTML Input Types - Question 10

the image input type set an image as submit button. The syntax is <input type=”image” src="https://edurev.gumlet.io/dquo;imghj.gif” alt=”Submit”> this sets the image provided by url as the submit button. Input type image sends the X and Y coordinates of click and hence the image is activated by clicking the submit button.

Information about Test: HTML Input Types Page
In this test you can find the Exam questions for Test: HTML Input Types solved & explained in the simplest way possible. Besides giving Questions and answers for Test: HTML Input Types, EduRev gives you an ample number of Online tests for practice

Top Courses for Primary 3

Download as PDF

Top Courses for Primary 3