HTML & CSS Flashcards

(7 cards)

1
Q

What is HTML?

A

HyperText Markup Language – the standard language for creating web pages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is CSS?

A

Cascading Style Sheets – used to define the presentation and layout of web pages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the role of HTML tags?

A

They structure web content (e.g., <h1>, <p>, <a>, <img></img>).</a>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the difference between HTML and CSS?

A

HTML: Defines structure/content

CSS: Defines style/layout

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a CSS class?

A

A reusable style defined with a . prefix (e.g., .main-header), applicable to multiple elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a CSS ID?

A

A unique identifier used once per page, defined with a # prefix (e.g., #login-button).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is form validation?

A

A process to ensure that data entered into a web form meets specific requirements (e.g., length, format, presence).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly