Cascading Style Sheets

Cascading Style Sheets

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Cascading Style Sheets

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

7 years ago

Date created

Mar 1, 2020

Cards (20)

Section 1

(20 cards)

Cascading Style Sheets

Front

A W3C standard for describing appearance of HTML elements

Back

CSS principles

Front

Inheritance Specify Location

Back

Element Selector

Front

Selects elements based on element name

Back

CSS

Front

Cascading Style Sheets

Back

Rule

Front

Consists of the selector as well as the CSS property and value

Back

Types of selectors

Front

element class id

Back

The Cascade

Front

referes to how styles interact

Back

Inline CSS

Front

dirctly in HTML tags via the style attribute

Back

Attribute Selector

Front

target HTML elements based on the presence or value of the element attribute

Back

Class selector

Front

targets all HTML elements with the same class attribute

Back

Name 3 inheritable CSS properties

Front

font color text

Back

Declaration Block

Front

series of declarations

Back

External CSS

Front

CSS code is stored in a separate file with a .css extension, and linked to the HTML pages via the self-closing link tag

Back

Types of style sheets

Front

Author-created User Browser

Back

Declaration

Front

consists of the property and the value

Back

Name 3 non-inheritable CSS properties

Front

layout sizing border

Back

Selector

Front

identifies the HTML element that has to be styled

Back

Id Selector

Front

target HTML element based on their id attributes regardless of position and type

Back

Embedded CSS

Front

in the head tagof an HTML page, within Style tags

Back

CSS benefits

Front

improved accessibility improved site maintainability improved page-download speed improved responsive design

Back