Udemy

Free CSS Basics Course: Style Text, Selectors and Boxes

A plain HTML page becomes easier to use when its spacing, typography and visual hierarchy work together. CSS gives you a language for making those choices explicit. Instead of adjusting every paragraph separately, you can describe a group of elements and apply a consistent rule. Learning that relationship is a useful first step toward understanding how a website gets its appearance.

Free learning access

Listed as Free on Udemy when checked on 6 November 2026. No coupon or subscription trial is required for the listed lessons. Enrollment needs a Udemy account; availability can change.

About this course

A plain HTML page becomes easier to use when its spacing, typography and visual hierarchy work together. CSS gives you a language for making those choices explicit. Instead of adjusting every paragraph separately, you can describe a group of elements and apply a consistent rule. Learning that relationship is a useful first step toward understanding how a website gets its appearance.

Learn CSS Basics by Srini Vanamala introduces styling through short explanations and progressively larger layout examples. The free English lessons cover ways to attach CSS, selectors, colors, text, boxes and floating columns. Although the audience description includes complete beginners, the requirements explicitly ask for HTML knowledge. Being able to recognize elements and attributes will help you concentrate on styling rather than learning both languages at once.

Official course Learn CSS Basics
Created by Srini Vanamala
Platform Udemy
Language English
Level Beginner
Listed duration 111 minutes; 15 lectures across 3 sections
Completion terms Not included with a new free enrollment

What you’ll learn

Connect CSS to an HTML document using inline, internal and external styles. Read selectors and declarations, distinguish reusable classes from unique IDs, and target direct children. Adjust text and color, compare margins with padding, and follow a page-layout example that combines boxes, navigation and floated columns.

Skills you’ll gain

  • CSS declarations
  • Stylesheet linking
  • Class and ID selectors
  • Direct-child selectors
  • Typography and color
  • Box model and floats

Connect a rule to a visible result

The opening sequence compares three places for styling: a style attribute on an element, a style block within the document, and a separate stylesheet linked from the page. Try changing one property at a time and refreshing the browser. An external file also introduces a practical dependency: its filename and relative path must agree with the link in the HTML.

A CSS rule combines a selector with declarations containing property names and values. The syntax lessons give that pattern a concrete purpose through changes such as text color and font weight. When a change does not appear, first check that the stylesheet loaded and that the selector matches the intended element. Adding more rules without understanding the existing ones can make a small problem harder to trace.

The comments lesson introduces the slash-and-asterisk notation used for CSS comments. Use short explanations to record why an unusual rule exists, rather than narrating every obvious property. Comments can help you revisit an experiment, but they are not private storage: anyone who can retrieve a public stylesheet can inspect its contents.

Choose what a selector should reach

Class selectors are useful when several elements share the same presentation. An ID identifies a unique element in a document. The course compares those forms and introduces the child selector. Pay attention to the greater-than sign: it matches a direct child, not every descendant at any depth. A small nested example can make that distinction much easier to see than memorizing the punctuation.

The text lesson brings together named, hexadecimal and RGB colors with font families, sizes, weights and other text properties. Treat these as choices serving readability. A decorative effect is not automatically an improvement, and color alone should not carry essential meaning. Start with a readable heading and paragraph before experimenting with shadows or transformed text.

For an independent editorial exercise, style a fictional repair-cafe notice containing a heading, an introductory paragraph and three service descriptions. Give the descriptions a shared class, add comfortable internal spacing and compare that padding with the space between neighboring boxes. Keep the wording invented and the layout small. This practice suggestion is separate from the instructor’s advertised samples and downloads.

Read older layouts with clear expectations

The longer lessons explore boxes, floats and a page with header, content, sidebars and footer. Follow how widths, margins and clearing affect the arrangement. The listed material was updated in December 2019 and includes a fixed-width layout example. It can help you read float-based code, but it should not be described as a complete modern responsive-design curriculum.

Floats remain useful for wrapping content around an element; current page-layout study should also include Flexbox and Grid. Those are sensible next topics, not lessons promised by this syllabus. A page that looks correct at one width still needs testing with narrower viewports, larger text and different content. Do not treat the example as a ready-made production website.

The fourteen videos total about one hour and fifty-one minutes, with an additional short article entry. Allow more time for typing and experimentation. The description advertises coding samples and source code, but their contents are not described here, and the public curriculum reports no downloadable-resource attachments. The free video access is separate from any broader course offers; no job outcome, advanced mastery or completion credential is promised.

Enroll Now ↗

Related courses for your next step

  • Compare another approachGoogle Learn HTML

    Focus: Semantic HTML · Document structure

    Beginner

  • Compare another approachGoogle Learn CSS

    Focus: CSS fundamentals · Selectors and specificity

    Beginner

Compare course focus, level and study time
Compare the published course outlines. A lower level is a preparation option, not a required prerequisite.
Course Level Focus Study time
This course — Free CSS Basics Course: Style Text, Selectors and Boxes Beginner CSS declarations · Stylesheet linking · Class and ID selectors 111 minutes (Udemy listing)
Google Learn HTML: Free Web Development Course Beginner Semantic HTML · Document structure · Page metadata Self-paced; no fixed total study time verified.
Google Learn CSS: Free Web Styling Course Beginner CSS fundamentals · Selectors and specificity · Flexbox and Grid Self-paced; no fixed total study time verified.

Frequently asked questions

Do I need HTML first?

Yes. The requirements explicitly ask for HTML knowledge, even though the course is aimed at CSS beginners.

Does this teach Flexbox and Grid?

They are not listed in the public syllabus. The layout lessons focus on boxes and floats, so study modern layout tools separately.

Is the course one hour long?

The fourteen video durations add up to about one hour and fifty-one minutes. The older URL should not be used as the duration estimate.

Share this course

Questions & discussion

Share a useful question or correction. Comments appear after moderation. Please avoid personal or sensitive information.

Add to the discussion

Your email address will not be published. Required fields are marked *