Web Foundations/CSS Formatting

This lesson introduces CSS formatting.

Internet word cloud
Internet word cloud

Objectives and Skills

edit

Objectives and skills for this lesson include:[1][2]

  • Identify and use design and color principles for Web pages.
  • Define and apply essential aspects of the Cascading Style Sheets (CSS) standard, including CSS versions 1, 2 and 3.
  • Design Web pages to industry standards.
  • Identify essential Web site navigation issues, and ensure page/site accessibility.

Readings

edit
  1. Wikipedia: Cascading Style Sheets
  2. Wikipedia: Style sheet (web development)
  3. Wikipedia: Font family (HTML)
  4. Wikipedia: Web colors
  5. Wikibooks: HyperText Markup Language/CSS

Multimedia

edit
  1. YouTube: CSS Tutorial for Beginners
  2. YouTube: CSS3 Tutorial

Examples

edit

Inline

edit
<h1 style="color: blue;">Heading</h1>

Internal

edit
<head>
<style>
h1   {color: blue;}
</style>
</head>

External

edit
<head>
<link rel="stylesheet" href="style.css">
</head>

Color

edit
<h1 style="color: #0000ff;">Heading</h1>

Background Color

edit
<h1 style="background-color: #0000ff; color: #ffffff;">Heading</h1>

Font Family

edit
<h1 style="font-family: 'Lucida Console', monospace;">Heading</h1>

Font Size

edit
<h1 style="font-size: 120%;">Heading</h1>

Font Style

edit
<h1 style="font-style: italic;">Heading</h1>

Activities

edit

Key Terms

edit
dithering
hexadecimal
rule
sans-serif
selector
serif

See Also

edit

References

edit