← Back to catalog
$197beginner

Introduction to HTML and CSS Coding

A comprehensive introduction to HTML and CSS computer programming languages. This course covers the foundational skills needed to build and style a functional webpage — from writing proper HTML syntax and adding basic elements, to applying CSS styling, managing fonts, and using the CSS box model. Designed for beginners with basic computer and browser skills, this course empowers you to create well-structured, visually appealing webpages from scratch.

21 lessons5 modules480 minutes

What you'll learn

  • Write properly structured HTML code using correct tag syntax
  • Add basic webpage elements including headings, paragraphs, line breaks, and text formatting
  • Create ordered and unordered lists in HTML
  • Embed images, hyperlinks, and tables in an HTML webpage
  • Set up a CSS styling area using the <style> tag
  • Apply colors to webpage elements using color names, RGB, and hexadecimal systems
  • Use CSS identifiers (IDs and classes) to target specific elements for styling
  • Style text using font-family, font-size, font-style, font-weight, line-height, and text-align properties
  • Use CSS font shorthand to efficiently declare multiple font properties
  • Use <span> and <div> grouping elements to organize and style webpage content
  • Adjust div dimensions using width, height, and overflow properties
  • Apply the CSS box model by configuring margin, border, and padding

Preview a lesson

Free preview
Font Families
First lesson — read a sample before you enroll.

Font Families Text is the primary medium for conveying information on a webpage, making text styling one of CSS's most valuable features. The **`font-family`** property allows you to change the typeface of any text element. Serif vs. Sans-Serif Fonts fall into two broad categories: **Serif** — Letters have small decorative strokes ("feet") at the ends of their lines. Examples: Times New Roman, Georgia, Palatino. Serif fonts often appear more traditional or formal. **Sans-serif** — Letters have no feet, giving a cleaner, more modern look. Examples: Arial, Helvetica, Verdana. Sans-serif fonts are generally considered easier to read on screens. You can apply a general font category as the value: ```css p { font-family: sans-serif; } ``` This tells the browser to use its default sans-serif font (usually Arial or Helvetica). Specific Font Names For more precise control, use a specific font name: ```css p { font-family: Optima; } ``` Other common options include: Arial, Helvetica, Verdana, Trebuchet MS (sans-serif); Times New Roman, Georgia, Didot, Palatino (serif); and Courier (monospace). Font Backups If a user's browser doesn't have your chosen font installed, it will be ignored entirely. Always provide a **backup font** by adding a comma and a second font name: ```css p { font-family: Optima, sans-serif; } ``` Best practice: use the general font category (e.g., `serif`, `sans-serif`) as the backup,

Enroll to read the rest and the full curriculum.

Curriculum

01

Lesson 1: Getting Started with HTML

4 lessons
  • textHTML Basics
  • textBasic Webpage Elements
  • textCreating Lists
  • quizLesson 1 Quiz
02

Lesson 2: Doing More with HTML

4 lessons
  • textImages in HTML
  • textLinks in HTML
  • textTables in HTML
  • quizLesson 2 Quiz
03

Lesson 3: Getting Started with CSS

4 lessons
  • textBasics of CSS
  • textCSS Color
  • textUsing Additional CSS Identifiers
  • quizLesson 3 Quiz
04

Lesson 4: Styling Text with CSS

5 lessons
  • textFont Families
    Preview
  • textFont Size
  • textMore CSS Text Properties
  • textFont Shorthand
  • quizLesson 4 Quiz
05

Lesson 5: Extended Styling Techniques Using HTML and CSS

4 lessons
  • textGrouping Elements
  • textDiv Dimensions
  • textThe CSS Box Model
  • quizLesson 5 Quiz

Reviews

No reviews yet. Be the first to leave one after you complete the course.