1st Flashcards

(29 cards)

1
Q

An ID selector is declared using a _________________________ preceding a string of characters

A

hash(#)

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

These are styles that the web browser applies to the page to help display it

A

browser or user agent

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

These are style sheets created by the author, the user and the user agent or browser

A

author style sheets

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

If you use external stylesheets, you write all your css rules in a text file and save it with a .html extension

A

False

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

Selects elements based on name, class

A

simple selector

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

Matches a specified element that is the first child of another element

A

first-child pseudo-class

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

Used to define a special state of an element

A

pseudo-class selector

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

The process by which some CSS properties applied to one tag are passed on to nested tags

A

inheritance

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

Cascading refers to the fact that cumulative styles across multiple CSS rules are applied to each and every HTML tag

A

True

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

Ways of adding style sheets into your webpage

A

Inline Style Sheet
Internal Style Sheets
External Style Sheets

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

Recommended features of CSS Text Editor

A

Line numbers
Code formatting options
Multi-language support
Syntax highlighting

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

CSS inheritance refers to the relationship between HTML tags and how certain CSS styles can apply to a tag even though there aren’t any CSS rules directly applied to it

A

True

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

You have to repeat your style definitions in every webpage if you want to use a particular set of styles throughout your site

A

embedded

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

The simplest method of adding CSS styles to your web pages

A

Inline Style Sheet

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

Tells the web browser which element or elements on a webpage to style-like a headline, paragraph, image or link

A

selector

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

Specificity is a height that is applied to a given CSS declaration

17
Q

ID selector are used to select one particular element, rather than a group of elements

18
Q

Matches all elements that are descendants of a specified element

A

descendant combinator

19
Q

The cascading part of the name CSS refers to the manner in which stylesheet rules are applied to elements in an HTML document.

20
Q

The weight of a particular style declaration is determined by the use of the keyword *importance.

21
Q

The exact style you wish to set for the property

22
Q

Things you need to author CSS

A

Text Browser

Browser

23
Q

Class selector are declared with a dot preceding a string of one or more class.

24
Q

Are often use to set the basic styles that appear throughout a website

A

type selector

25
Give the two(2) things you need to author CSS.
26
Give the four(4) recommended features of CSS Text Editor.
27
Give the five(5) categories of CSS Selectors.
28
Give the six(6) properties that are not inherited by default.
29
Give the three(3) ways of adding style sheet into your web page.