HTML Tags and CSS Selectors Flashcards

1
Q

The ____ tag is used to create links to other web pages or
resources

A

< a >

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

The____ tag is used to create paragraphs of text

A

< p >

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

The ____ tag is used to insert images into a web page

A

< img >

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

provides two types of lists: ordered lists ____ and
unordered lists ____.

A

< ol >
and
< ul >

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

The____ tag is used to create a
form, and different types of input elements can be used within the form,
such as text boxes, radio buttons, checkboxes, and dropdown menus

A

< form >

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

for creating tables on a web
page.

A

< table >

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

is a block-level element, used to group elements together for styling purposes

A

< div >

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

is an inline element, used to group elements together for styling purposes

A

< span >

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

provides audio and video in a web page

A

< audio >
and
< video >

< audio controls > < /audio > and < video controls > < /video>

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

can be used to provide additional information about a web page, such as its title, description, and keywords

A

Meta Tags

< meta charset = “utf-8” >

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

HTML allows you to add comments to your code using the ____ syntax.

A

< !- - – >

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

tag for creating buttons on a web page

A

< button >

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

tag for inserting a horizontal rule or line on a web page

A

< hr >

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

tag for indicating an abbreviation or acronym.

A

< abbr >

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

the ____ and ____
tags for creating subscripts and superscripts, respectively.

A

< sub >
and
< sup >

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

targets the active state of an element (when it is being
clicked)

A

:active

17
Q

targets elements that are checked, such as checkboxes or radio buttons

A

:checked

18
Q

targets disabled form elements

A

:disabled

19
Q

targets elements that have no children

A

:empty

20
Q

targets enabled form elements

A

:enabled

21
Q

targets the element that has focus

A

:focus

22
Q

targets the element that is being hovered over

A

:hover

23
Q

These functions are used to specify colors in the red-green-blue color space .

A

rgb()
and
rgba()

24
Q

These functions are used to specify colors in the hue-saturation-lightness color space.

A

hsl()
and
hsla()

25
Q

This function is used to perform arithmetic calculations in CSS.
It can be used to calculate values for properties such as width, height, and margin.

A

calc()

26
Q

This function is used to specify the location of an external resource such as an image or a font.

A

url()

27
Q

This function is used to apply transformations to HTML
elements, such as scaling, rotating, and translating.

A

transform()

28
Q

This function is used to create a gradient background using two or more colors.

A

linear-gradient()

29
Q

This function is used to add a shadow effect to an HTML element.

A

box-shadow()

30
Q

This function is used to create a smooth transition effect
when a CSS property changes value.

A

transition()

31
Q

CSS Pseudo-classes selectors:

A
  • :active
  • :checked
  • :disabled
  • :empty
  • :enabled
  • :focus
  • :hover