Section 1

Preview this deck

How could you select all anchor tags that are inside of list item tags?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (28)

Section 1

(28 cards)

How could you select all anchor tags that are inside of list item tags?

Front

li a (the space denotes that the style will only be applied to anchor tags that are nested inside of a list tag)

Back

ruleset

Front

Is a CSS syntax that consist of a selector and a declaration block

Back

What is the selector used to select tags by their ID?

Front

An octothorpe symbol, #, is used

Back

class selector

Front

Selector used to style multiple elements, indicated by a .

Back

What are different ways to specify colors in CSS?

Front

"some colors can be specified with their name, but to be more specific you can use: RGB, HEX, HSL, RGBA, or HSLA values "

Back

What is the purpose of the @import directive in CSS?

Front

it is used to import style rules from other style sheets

Back

parent selector

Front

+

Back

What property is used to make a font italic or oblique?

Front

font-style property

Back

internal styling

Front

Styling using style tag inside the HTML file

Back

What is the syntax of comments in CSS?

Front

/ Comments will be displayed here /

Back

What is the order of precedence with CSS styling?

Front

The # (indicating an id style) takes precedence over all other styles. otherwise the last style applied has prority and will overwrite any conflicting styles applied before it

Back

external styling

Front

Styling using a reference separate CSS file.

Back

tag selector

Front

A tag selector is used to redefine existing HTML tag

Back

What do the second two digits of a hex color code indicate?

Front

blue

Back

CSS

Front

Cascading Style Sheets

Back

What are the components of the box model (in order from innermost to outermost)?

Front

content,padding, border, margin

Back

What is the selector used to select tags by their class?

Front

A dot, . , is used

Back

child/descendent selector

Front

>

Back

When providing shorthand values to a border property, within a CSS ruleset, what is the order of the sides?

Front

width, style, color (ex: border: 5px solid blue)

Back

What do the first two digits of a hex color code indicate?

Front

red

Back

What property is used to set the color of a text?

Front

color

Back

What is valid syntax for a CSS hex color code?

Front

#FFFFFF

Back

inline styling

Front

Styling the attribute on the tag itself

Back

What property is used to align the text of a document?

Front

text-align:

Back

What property is used to change the face of a font?

Front

font-family

Back

sibling selector

Front

+

Back

id selector

Front

Selector used to style one specific element, indicated by a #

Back

How can you prevent a lower priority ruleset from being overridden by a higher priority ruleset?

Front

By setting a filter for the ruleset from the advance setting option

Back