HTML Introduction

What is HTML?

HTML stands for Hyper Text Markup Language, it is easy and fun to learn.

HTML describes the structure of web pages

HTML5 is the fith and current major version of the HTML standard.

Why learn HTML5?

It is essential to learn HTML if you want to build websites, you can’t build one if you don’t know HTML because it’s one of the prerequisites in learning other languages used for web development.

Let’s break down what’s happening here:

  • <!DOCTYPE html>: This declaration tells the web browser that the document is written in HTML5, the latest version of HTML.
  • <html>: This tag represents the root of the HTML document.
  • <head>: This section contains meta-information about the HTML document, such as the title, character encoding, etc.
  • <title>: This tag sets the title of the webpage, which appears in the browser’s title bar or tab.
  • <body>: This is where the main content of the webpage goes.
  • <h1>, <h2>: These are header tags used to create headings of different levels.
  • <p>: This tag is used to define a paragraph of text.
  • <ul>, <li>: These tags are used to create an unordered list and list items, respectively.
  • <img>: This tag is used to insert an image into the webpage. The src attribute specifies the path to the image file, and the alt attribute provides alternative text for accessibility purposes.

HTML Tags

HTML Tags are element names surrounded by angle brackets.

In HTML we start and end tags. Look at the example below

<p>Hello, welcome to our HTML course</p>

Start Tag and End Tag

  • Start tag - also called “opening tag” eg. <p>
  • End tag - also called “ending tag” eg </p>

This is the basic structure of any HTML page. Memorize them!

<!DOCTYPE html>
<html>
    <head>
        <title>Hello World!</title>
    </head>
    <body>
        
    </body>
</html>

Learning HTML is essential for anyone interested in web development or content creation on the internet because:

  1. Foundation of Web Development: HTML is the backbone of web development. It’s the first language you’ll need to learn when starting to build web pages.

  2. Universal Language: HTML is supported by all web browsers and is the standard language for creating web pages, making it a fundamental skill for anyone working on the web.

  3. Understanding Web Structure: Learning HTML teaches you how web pages are structured and how different elements interact with each other, which is crucial for effective web design and development.

  4. Gateway to Other Technologies: HTML often goes hand-in-hand with other web technologies like CSS (Cascading Style Sheets) for styling and JavaScript for interactivity. Understanding HTML is the first step toward mastering these other technologies.

In summary, HTML is the building block of the web, and learning it is the first step toward becoming proficient in web development and design.

To be among the first to hear about future updates of the course materials, simply enter your email below, follow us on (formally Twitter), or subscribe to our YouTube channel.

Back to top