HTML and CSS (2nd Sem midterm)

HTML and CSS (2nd Sem midterm)

12th Grade

30 Qs

quiz-placeholder

Similar activities

Novel

Novel

6th Grade - University

25 Qs

G12 - Unit 2 - Vocab Quiz 1

G12 - Unit 2 - Vocab Quiz 1

12th Grade

31 Qs

Structure Elements

Structure Elements

8th Grade - University

25 Qs

Graphic Elements in STAAR

Graphic Elements in STAAR

8th Grade - University

25 Qs

Soapstone Review

Soapstone Review

10th Grade - University

25 Qs

Commas in Introductory Elements

Commas in Introductory Elements

8th Grade - University

25 Qs

Story Element

Story Element

2nd Grade - University

25 Qs

HTML and CSS (2nd Sem midterm)

HTML and CSS (2nd Sem midterm)

Assessment

Quiz

English

12th Grade

Medium

Created by

Teacher Ron

Used 1+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the <fieldset> element in HTML?

To style a group of inputs

To define a section in a form

To group buttons together

To create an image gallery

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to change the background color of a form element's label?

background-color

color

background-image

border

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is the border of a form input element commonly styled?

Solid with a 1px thickness

Dotted with a 1px thickness

Dashed with a 3px thickness

None, it is not styled

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What typically happens when an input element is focused in a form?

It changes background color to white and border to dotted

It gets a blue background

It gains a 1px solid blue border

It changes text color to red

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the effect of the :hover selector for buttons in CSS?

Changes the background color to light gray

Makes the button text bold

Changes the border to 2px solid black

Increases the size of the button

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the border-radius property do in CSS?

It rounds the corners of an element

It changes the width of the border

It makes the element invisible

It adds a shadow effect to the element

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of an input element with the ID 'submit' in a form?

To display a clickable button for form submission

To create a text input field

To add a reset button

To display a label

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?