Chapter 3. HTML Basics
HTML is used to structure a web page and provide content, while CSS adds styles to the structure and content.
In this chapter, you'll learn the basics of HTML coding, including syntax and how HTML tags and attributes work.
You'll also learn basic HTML tags such as <h1>
to <h6>
, <p>
, and various sectioning tags.
It may take time for beginners to fully understand some concepts such as semantics. For the first reading, you can quickly go through the sections and come back later once you become more familiar with HTML.
The following lessons are covered in this chapter.
Lessons in this chapter
- What Is HTML?
- HTML Element
- Attribute
- HTML Document Structure
- Layout Semantics
- Heading and Paragraph Tag
- Text-Level Semantics
- Space, Line-break and Tag in Content
- Comments in HTML Document