WEBPROG: X.3 - Cascading Style Sheets (CSS)

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/26

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:18 PM on 8/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

27 Terms

1
New cards

CSS

This specifies how HTML components should be rendered on screen, paper, or other mediums.

2
New cards

Inline

This method of CSS insertion is used to impart a unique style to a single element. It is placed in the opening tag of an element.

3
New cards

Internal

This method of CSS insertion is used to apply style to only a specific page. It is placed in the head section of the HTML structure.

4
New cards

External

This method of CSS insertion is used to modify the look of a website by changing only one file. An HTML page must reference the style sheet file in the head section of the HTML structure in order to function.

5
New cards

ID Selector

This CSS element selector selects an HTML element based on its ID property. It is unique within a page so it can only be used once. It is identified by a hash symbol (#).

6
New cards

Class Selector

This CSS element selector selects HTML items that have a certain class property. It is identified by a period (.).

7
New cards

Text Color

This property is used to set the color of the text. It can be specified by the HEX value, RGB value, or simply the color name.

8
New cards

Text Alignment

This property is used to set the horizontal alignment of a text. It can be centered, left, right, or justified.

9
New cards
<p>Text Transform</p>

Text Transform

This property is used to turn text into uppercase or lowercase letters, or capitalize the first letter of each word.

10
New cards
<p>Text Indentation</p>

Text Indentation

This property is used to specify the indentation of the first line of a text.

11
New cards
<p>CSS Background</p>

CSS Background

These properties are used to define the background effects of an element.

12
New cards

CSS Units

These are used to specify the length values of properties.

13
New cards

Absolute length

This length unit is fixed and a length expressed in any of these will appear exactly as that size.

14
New cards

Relative length

This length unit specifies a length relative to another length property, and it scales better between different rendering mediums.

15
New cards
<ol><li><p>cm - centimeters</p></li><li><p>mm - millimeters</p></li><li><p>in - inches</p></li><li><p>px - pixels</p></li><li><p>pt - points</p></li><li><p>pc - picas</p></li></ol><p></p>
  1. cm - centimeters

  2. mm - millimeters

  3. in - inches

  4. px - pixels

  5. pt - points

  6. pc - picas

What are some examples of absolute length units?

16
New cards

em

This relative length is relative to the font size of the element.

17
New cards

ex

This relative length is relative to the x-height of the current font.

18
New cards

ch

This relative length is relative to the width of the “0”.

19
New cards

rem

This relative length is relative to the font size of the root element.

20
New cards

vw

This relative length is relative to 1% of the width of the viewport.

21
New cards

vh

This relative length is relative to 1% of the height of the viewport.

22
New cards

vmin

This relative length is relative to 1% of the viewport’s smaller dimension.

23
New cards

vmax

This relative length is relative to 1% of the viewport’s larger dimension.

24
New cards

%

This relative length is relative to the parent element.

25
New cards
<p>CSS Box Model</p>

CSS Box Model

This fundamental CSS concept determines how items are organized and positioned on a webpage.

26
New cards

Padding

This property is used to add space around an element inside any given boundary.

27
New cards
<p>CSS Grid</p>

CSS Grid

This layout consists of a parent element with one or more child elements.