Search Header Logo

Mastering HTML and CSS Concepts

Authored by Emjee Puthooran

Other

University

Used 1+ times

Mastering HTML and CSS Concepts
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the

element in HTML?

The

element is used to define a table.

The

element is used to group content for styling and layout.

The

element is for embedding images.

The

element is used to create hyperlinks.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML element is used to define an unordered list?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the CSS property 'display: flex' do?

It applies a grid layout to child elements.

It makes child elements stack vertically.

It hides all child elements from view.

It creates a flex container for flexible layout of child elements.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you center a flex item vertically within a flex container?

Apply 'display: block' to the flex item.

Use 'align-items: center' on the flex container.

Set 'margin: auto' on the flex item.

Use 'justify-content: center' on the flex container.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main difference between 'grid-template-rows' and 'grid-template-columns'?

'grid-template-rows' sets the row sizes, while 'grid-template-columns' sets the column sizes.

'grid-template-rows' is used for defining grid gaps, while 'grid-template-columns' is for alignment.

Both 'grid-template-rows' and 'grid-template-columns' set the same sizes for rows and columns.

'grid-template-rows' sets the column sizes, while 'grid-template-columns' sets the row sizes.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a form in HTML?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What attribute is used to specify the action of a form?

target

method

enctype

action

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?