Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda What is HTML? | Getting Acquainted with HTML
Web Scraping with Python

book
What is HTML?

Before we proceed, it's essential to understand the concept of HTML and its functionality.

For instance, take a look at the web page displayed below, accessible through the following link.

The HTML structure of the page is as follows:

html

index.html

copy
<html>
<title>Test page</title>
<body>
<h2>What is HTML?</h2>
<p>
HTML, or HyperText Markup Language is markup language used for displaying
web pages.
</p>
</body>
</html>

Let's delve into some explanations. Each HTML tag is enclosed within angle brackets, with a left bracket < and a right bracket >. Most HTML tags are designed in pairs, comprising both opening and closing tags. Closing tags are preceded by a forward slash /.

In the schema provided above, we have utilized the following tags:

  • <html> - defines an html document (compulsory tag for each document);

  • <title> - defines a page title (displayed in the tab bar);

  • <body> - defines the document's body;

  • <h2> - defines the second level of the heading (there are 6 levels available: <h1> - <h6>);

  • <p> - defines a paragraph.

question mark

Choose the correct statements:

Select the correct answer

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2

Pergunte à IA

expand
ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

some-alt