Tutorial series

How To Style HTML with CSS

How To Style HTML with CSS

Introduction

Cascading Style Sheets (CSS) is the styling language of the web, and is used to design and control the visual representation of Hypertext Markup Language (HTML) on a web page. With CSS, you can manage everything from font to layout to animations on your web page. This series will lead the reader through CSS exercises that demonstrate the building blocks of the language and the fundamental design principles needed to make a user-friendly web site.

Tutorials in series

Tutorial

How To Apply CSS Styles to HTML with Cascade and Specificity

Tutorial

How To Select HTML Elements to Style with CSS

Tutorial

How To Style Text Elements with Font, Size, and Color in CSS

Tutorial

How To Work with the Box Model in CSS

Tutorial

How To Use Common Units in CSS

Tutorial

How To Lay Out Text with CSS

Tutorial

How To Use Color Values with CSS

Tutorial

How To Use Links and Buttons with State Pseudo-Classes in CSS

Tutorial

How To Select HTML Elements Using ID, Class, and Attribute Selectors in CSS

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.