HTML & CSS Course for Beginners - Learn HTML & CSS Basics
Explore the world of web development with our comprehensive free HTML and CSS course designed for beginners.
Learn HTML and CSS free of charge with our expertly crafted lessons.
Course Guide
This course is for
Complete beginners in HTML and CSS coding.
Learners who want to build a solid foundation in HTML and CSS.
Anyone who wants to build and publish websites from scratch with their own code.
Course Design
Course Design 1
Complete Website Development Journey
Throughout this course, you will experience a complete website development and publishing journey with our detailed step-by-step guide.
By the end of this course, you'll have built your own HTML and CSS practice website with practice demos for key HTML elements and CSS properties. You can use the website to review what you learned.
Course Design 2
Designed for Complete Beginners
This course is designed for a complete beginner. By simply copying and pasting the code snippets into your text file, you can build your own practice website very easily.
Course Design 3
Theory and Practice
You can learn theory comprehensively and internalize it through practice.
We'll provide all code snippets step by step along with detailed explanations of HTML and CSS technique.
Learning Approach
Learning Approach 1
Build Knowledge Map First
We recommend you first go through the course from the beginning to the end even with 50-80% understanding. The important thing is creating a well-structured knowledge map in your brain first.
Learning Approach 2
Continuously Review
And, regularly review the challenging topics using history, bookmark, tag and search features.
HTML & CSS Course Outline
Chapter 1. Overview of Website Development
If you are a web coding beginner, you may not know the mechanism of websites and key steps to develop a website.
In this chapter, you'll learn a high-level overview of website development and basic terminology.
A web page is connected to other pages through hyperlinks. An HTML file for a web page can also be linked to other resources, such as images, videos, CSS files, and JavaScript files, to add better content and functionality.
In this chapter, you'll learn how to add different types of links.
If you want to build a sophisticated, well-organized website, you need to control sizing and spacing meticulously with a correct understanding of each property (width, height, margin, padding, box-sizing, etc.).
In this chapter, through illustrations, you'll learn the key concept of the CSS box model, key CSS properties, and how properties affect each other.
Text and images are two major content types on websites.
In this chapter, you'll learn how to style text and images, including color, font-size, font-family, font-weight, font-style, text-decoration, line-height, letter-spacing, text-align, vertical-align, and float. You'll also learn how to use web fonts.
Chapter 13. CSS: Styling Borders and Drawing Lines
In this chapter, you'll learn how to style borders and draw lines.
Unlike with drawing software, you cannot draw lines using a line tool or pen tool. You can draw a horizontal line using the <hr> element, but it is mainly used to semantically separate sections. In website design, using border styling is a commonly used approach to drawing lines.
There are several properties to styling borders including:
Chapter 14. CSS: Layout - Key Concepts and Display Properties
Implementing an intended layout in a website may be one of the most difficult parts of CSS coding.
The display property gives you flexibility in designing a website layout. As the display property is multifunctional, this property often confuses beginners.
Through this chapter, you'll be able to understand how the display property works.
In website development, you may reuse several design parts (components), such as buttons, cards, and bars.
Mastering this concept will help improve your website development productivity by minimizing repetitive work while improving your ability to customize website design details.
In this chapter, you'll learn how to create and style basic components.
In this chapter, you'll complete the entire website coding, including different web page structures (home page, list page, detail page), while utilizing the components prepared in the previous chapter.
For the coding practice, you'll use Live Server (VS Code extension). Using the Live Server features, you can also check how your website looks on your mobile devices during the coding process.