HTML and CSS Basics Flashcard

HTML and CSS Basics Flashcard

Assessment

Flashcard

Computers

9th Grade

Hard

Created by

David Marks

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

19 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the purpose of the tag in an HTML document?

Back

To link CSS files and provide meta information

2.

FLASHCARD QUESTION

Front

How do you set the background color of a webpage to light blue using CSS?

Back

body { background-color: lightblue; }

3.

FLASHCARD QUESTION

Front

What is the purpose of a

tag in HTML?

Back

To represent a block of content

4.

FLASHCARD QUESTION

Front

What is the purpose of setting the z-index to -1 in a CSS overlay?

Back

To place the overlay behind the actual content

5.

FLASHCARD QUESTION

Front

What is the purpose of using the

tag in HTML?

Back

To create a generic container for content

6.

FLASHCARD QUESTION

Front

What is the function of the class "andy" in the HTML structure provided?

Back

It is the main wrapper for styling

7.

FLASHCARD QUESTION

Front

What is the purpose of using "display: flex" in the .andy class?

Back

To center the iframe using Flexbox

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?