Mastering HTML and CSS Concepts

Mastering HTML and CSS Concepts

Professional Development

15 Qs

quiz-placeholder

Similar activities

Webtech

Webtech

Professional Development

10 Qs

AIRPAY

AIRPAY

Professional Development

20 Qs

TypeScript and Popular Framework

TypeScript and Popular Framework

Professional Development

20 Qs

Javascript - 01

Javascript - 01

Professional Development

20 Qs

HTML & CSS

HTML & CSS

6th Grade - Professional Development

16 Qs

Bootstrap

Bootstrap

Professional Development

10 Qs

CSS

CSS

1st Grade - Professional Development

15 Qs

HTML + CSS

HTML + CSS

KG - Professional Development

10 Qs

Mastering HTML and CSS Concepts

Mastering HTML and CSS Concepts

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Ms STAFF

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What property is used to create a flex container in CSS?

flex-direction: row

display: flex

align-items: center

display: grid

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'grid-template-columns' property in CSS Grid?

To define the overall height of the grid layout.

To set the background color of a grid item.

To define the number and size of columns in a CSS Grid layout.

To control the spacing between grid items.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you create a responsive grid layout using CSS Grid?

Use Flexbox with 'display: flex' for layout.

Set 'float: left' on grid items for alignment.

Apply 'position: absolute' to create a grid structure.

Use CSS Grid with 'display: grid', 'grid-template-columns', and media queries for responsiveness.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What attribute is used to create a text input field in an HTML form?

type='text'

type='button'

type='textarea'

type='input'

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a checkbox input in an HTML form?

Example Button

Example Checkbox

Example Text

Example Radio

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between 'display: flex' and 'display: grid'?

The main difference is that 'display: flex' is for one-dimensional layouts, while 'display: grid' is for two-dimensional layouts.

'display: flex' is only for mobile layouts, while 'display: grid' is for desktop layouts.

'display: flex' allows overlapping elements, whereas 'display: grid' does not.

'display: flex' is used for animations, while 'display: grid' is for static layouts.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the 'action' attribute in an HTML form used for?

The 'action' attribute specifies the URL for form submission.

The 'action' attribute is used to style the form elements.

The 'action' attribute defines the form's method type.

The 'action' attribute specifies the form's title.

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?