HTML and CSS Quiz

HTML and CSS Quiz

4th Grade

6 Qs

quiz-placeholder

Similar activities

Grade 2 - MS Word Interface

Grade 2 - MS Word Interface

1st - 4th Grade

10 Qs

Parts of a Computer Practice

Parts of a Computer Practice

4th Grade

10 Qs

Year 4 - Micro:Bits - Graphical Dice

Year 4 - Micro:Bits - Graphical Dice

4th Grade

10 Qs

Introduction to Data Science

Introduction to Data Science

1st Grade - University

10 Qs

ระบบทางเทคโนโลยี

ระบบทางเทคโนโลยี

4th Grade

10 Qs

The Computer Mouse

The Computer Mouse

1st - 5th Grade

10 Qs

Google Docs

Google Docs

3rd - 6th Grade

10 Qs

ICT

ICT

2nd - 5th Grade

10 Qs

HTML and CSS Quiz

HTML and CSS Quiz

Assessment

Quiz

Computers

4th Grade

Medium

Created by

ahmed bkr

Used 1+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which input type defines a single-line input field for text input?

<input type="submit">

<input type="radio">

<input type="checkbox">

<input type="text">

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the Action Attribute define?

The method used to submit the form

The name of the input field

The type of input field

The action to be performed when the form is submitted

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Target Attribute specifies where to display the response that is received after submitting. What does the <select> element define?

A single-line input field

A radio button

A drop-down list

A checkbox

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The <textarea> element defines a multi-line input field (a text area). What does a CSS rule consist of?

A tag name and an attribute

A property and a value

A selector and a declaration block

An ID and a class

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CSS Margins are used to create space around elements, outside of any defined borders. How can you set the top margin to 25px, right margin to 50px, bottom margin to 75px, and left margin to 100px?

margin: 25px 50px;

margin: 25px 50px 75px;

margin: 25px 50px 75px 100px;

margin: 25px;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CSS padding properties are used to generate space around an element's content, inside borders. What does the margin shorthand property with four values do?

Sets all four margins to the same value

Sets the top margin to one value, and the right, bottom, and left margins to another value

Sets the top, right, bottom, and left margins to different values

Sets the top and bottom margins to the same value, and the right and left margins to the same value

Discover more resources for Computers