HTML Fundamentals Course: Building the Web
Sobre a Aula

What is the HTML?

Hello, students! In this class, we will learn what HTML is.

HTML stands for HyperText Markup Language, or Linguagem de Marcação de Hipertexto in Portuguese. It is a markup language used to create web pages.

Web pages are composed of HTML elements, which are marked by tags. Tags are words or symbols that instruct the browser on how to display the content of the page.

For example, the <h1> tag tells the browser that the following text should be displayed as a level 1 heading. The <p> tag tells the browser that the following text should be displayed as a paragraph.

HTML is a relatively simple language to learn, but it is essential for anyone wanting to create web pages.

In this lesson, we will cover:

  • What HTML is
  • How HTML works
  • The basic elements of HTML

Let’s get started!

What is HTML?

HTML is a markup language that describes the content of a web page.

Web pages are composed of HTML elements, marked by tags.

Tags are words or symbols that instruct the browser on how to display the content of the page.

For example, the <h1> tag tells the browser that the following text should be displayed as a level 1 heading. The <p> tag tells the browser that the following text should be displayed as a paragraph.

How does HTML work?

When a browser opens a web page, it reads the HTML code of the page.

The browser uses the HTML code’s tags to determine how to display the content of the page.

For example, if the browser finds the <h1> tag, it will display the text following the tag as a level 1 heading.

What are the basic elements of HTML?

The basic elements of HTML include:

  • Text elements: Used to display text on the web page. Examples of text elements include <h1>, <p>, <strong>, <em>, <code>, and <pre>.
  • Structure elements: Used to organize the content of the web page. Examples of structure elements include <div>, <ul>, <ol>, <dl>, <table>, and <form>.
  • Presentation elements: Used to control the appearance of the web page content. Examples of presentation elements include <img>, <a>, and <style>.

We will learn more about these elements in the upcoming lessons.

End of the lesson!

Exercises

  • Open a text editor and create a simple HTML document.
  • Add a level 1 title to the document.
  • Add a paragraph to the document.
  • Save the document and open it in a browser.

Observe how the browser displays the title and paragraph.

Happy studying!

Entrar na conversa
Rolar para cima