Class 10 Exam  >  Class 10 Tests  >  Test: Frames, Forms & CSS - 2 - Class 10 MCQ

Test: Frames, Forms & CSS - 2 - Class 10 MCQ


Test Description

20 Questions MCQ Test - Test: Frames, Forms & CSS - 2

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

Which element specifies a list of pre-defined options for an input element?

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 1

The datalist tag is used to provide an “autocomplete” feature on input elements. Users will see a drop-down list of pre-defined options as they input data. Password defines password field in HTML. It is attribute for input-type. The <keygen> element references from data after form has submitted. Result of calculation (script) is represented by output tag.

Test: Frames, Forms & CSS - 2 - Question 2

The HTML attribute used to define the internal stylesheet is -

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 2

The internal style sheet is used to add a unique style for a single document. It is defined in <head> section of the HTML page inside the <style> tag.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Frames, Forms & CSS - 2 - Question 3

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

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 3

The background-image property is used to set an image as a background of an element. By default the image covers the entire element.

Test: Frames, Forms & CSS - 2 - Question 4

A group of frames is called as ___

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 4

A collection of frames in the browser window is known as a frameset. The window is divided into frames in a similar way the tables are organized: into rows and columns.

Test: Frames, Forms & CSS - 2 - Question 5

Which of the following defines a group of related options in a drop-down list?

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 5

HTML form element is used in its <form> tag having its own structure which is used by users for various tasks. If you have a long list of options, groups of related options are easier to handle for a user. Result of calculation (script) is represented by output tag. A drop down list of items is defined by <option> tag in HTML.

Test: Frames, Forms & CSS - 2 - Question 6

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

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 6

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: Frames, Forms & CSS - 2 - Question 7

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

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 7

The background-color property in CSS is used to change the background color of an element. The correct syntax to make the background color of all paragraph elements to yellow is: p {background-color : yellow;}.

Test: Frames, Forms & CSS - 2 - Question 8

Which of the following is the correct syntax to display the hyperlinks without any underline?

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 8

The text-decoration property in CSS is used to decorate the content of the text. It adds lines under, above, and through the text. It sets the appearance of decorative lines on text. The correct syntax to display the hyperlinks without any underline is: a {text-decoration : none;}.

Test: Frames, Forms & CSS - 2 - Question 9

The __________ attribute indicates the number of columns in a frameset.

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 9

The number of attribute values determines how many rows or columns of frames Netscape will display in the document window. You express each value in the rows or cols attribute in one of three ways: as an absolute number of pixels, a percentage of the total width or height of the frameset, or.

Test: Frames, Forms & CSS - 2 - Question 10

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

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 10

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: Frames, Forms & CSS - 2 - Question 11

Which of the following property is used as the shorthand property for the padding properties?

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 11

CSS padding property is used to define the space between the element content and the element border. Top, bottom, left and right padding can be changed independently using separate properties. By using the shorthand padding property we can also change all padding properties at once.

Test: Frames, Forms & CSS - 2 - Question 12

The CSS property used to make the text bold is -

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 12

The font-weight property is used for setting the thickness and boldness of the font. It is used to define the weight of the text. The available weight depends on the font-family, which is used by the browser.

Test: Frames, Forms & CSS - 2 - Question 13

The __________ attribute indicates the number of rows in a frameset.

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 13

Rows attribute: specifies the number of rows (horizontal frames) and height of each frame. You can specify the height of each frames exactly as explained above for vertical frames. Border attribute: This attribute specifies the width of the border for each frame in pixel.

Test: Frames, Forms & CSS - 2 - Question 14

How does the color attribute work?

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 14

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”>

Test: Frames, Forms & CSS - 2 - Question 15

Are the negative values allowed in padding property?

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 15

The negative values are not allowed when using the padding property.

Test: Frames, Forms & CSS - 2 - Question 16

Which tag is not included in a frameset page?

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 16

The body tag is not included in a frameset page.

Test: Frames, Forms & CSS - 2 - Question 17

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

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 17

CSS Margin property is used to define the space around elements. The Top, bottom, left and right margin can be changed independently using separate properties. By using the shorthand margin property we can change all margin properties at once.

Test: Frames, Forms & CSS - 2 - Question 18

Which attribute is used for activation of JavaScript?

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 18

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: Frames, Forms & CSS - 2 - Question 19

The __________ attribute lets you turn off scrolling in a frame.

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 19

The HTML <framescrolling attribute is used to specify that whether the scrollbar will be displayed or not in the <frame> element.

Test: Frames, Forms & CSS - 2 - Question 20

week attribute defines ____________

Detailed Solution for Test: Frames, Forms & CSS - 2 - Question 20

week input type defines a week and year. It does not define the time zone. Syntax is <form action=”ghu.php”> week: <input type=”week” name=”week and year”> <input type=”submit”> </form>, this gives a selection box and display a calendar like chart from where we can select a week and the year as well.

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

Top Courses for Class 10

Download as PDF

Top Courses for Class 10