Q1: Multiple Choice Questions (MCQs)
1. Which HTML tag is used to create a form?
a) <form>
b) <input>
c) <fieldset>
d) <textarea>
2. What attribute of the <input> tag specifies the type of input control to create?
a) name
b) type
c) value
d) method
3. Which CSS property is used to change the text color of an element?
a) font-color
b) color
c) text-color
d) background-color
4. Which attribute of the <form> tag specifies where to send the form data when the form is submitted?
a) method
b) action
c) target
d) type
5. What is the correct syntax to link an external CSS file in an HTML document?
a) <link rel="stylesheet" href="style.css">
b) <style src="https://edurev.gumlet.io/tyle.css">
c) <css link="style.css">
d) <stylesheet link="style.css">
Q2: Fill in the Blanks
1. The <______> tag is used to create a multi-line text input area in a form.
2. The method attribute of the <form> tag can be set to either "GET" or "______".
3. The ______ property in CSS is used to apply styles to specific elements.
4. The ______ attribute of the <input> tag is used to specify the initial value of the input field.
5. In CSS, the ______ property is used to change the font size of an element.
Q3: Match the Columns
Q4: True or False
1. The POST method should be used when a form changes the state of the server.
2. The type attribute of the <input> tag is optional.
3. The background-color property in CSS is used to change the color of the text.
4. An <input type="button"> tag creates a button that does nothing by default.
5. Inline CSS can be applied using the style attribute within an HTML element.
11 videos|49 docs|18 tests
|
|
Explore Courses for Class 10 exam
|