Logo
  • Home
  • Explore

    How to make a website

    Unit 1

    Unit 1: Introduction to Website Creation

    Chapter 1: What is a Website
    Chapter 2: Website Creation Process
    Chapter 3: Importance of Having a Website

    Unit 2

    Unit 2: Web Design Basics

    Chapter 1: Introduction to Web Design
    Chapter 2: Color Theory
    Chapter 3: Typography

    Unit 3

    Unit 3: HTML Basics

    Chapter 1: What is HTML
    Chapter 2: HTML Tags and Elements
    Chapter 3: Creating a Basic Webpage

    Unit 4

    Unit 4: CSS Basics

    Chapter 1: What is CSS
    Chapter 2: CSS Selectors and Styling
    Chapter 3: Responsive Web Design

    Unit 5

    Unit 5: Website Optimization

    Chapter 1: Introduction to Website Optimization
    Chapter 2: Image Optimization
    Chapter 3: Page Speed Optimization

    Unit 3 • Chapter 2

    Chapter 2: HTML Tags and Elements

    Summary

    HTML tags are used to mark up content and are denoted by tag names surrounded by less than and greater than brackets. Different tags have different names, such as body, paragraph, and image tags. HTML tags typically consist of an opening and closing tag, except for void tags which cannot have any content inside them. Void tags do not require a closing tag and examples include the image tag. Self-closing tags, a leftover from XHTML, may also be seen in HTML. These tags do not have a closing tag and were part of a previous version of HTML called XHTML.

    PreviousChapter 1: What is HTML
    NextChapter 3: Creating a Basic Webpage