What is the HTML structure of web pages like?

The HTML language will allow us to indicate how the structure of our web page is, through the use of different tags. It can be said that this language gives us great adaptability, and it is also easy to interpret . This is because it follows a scheme where there is a root element and the rest of the labels are inserted in a logical way for its operation.

In addition, this language has a grammar which is special for it, this goes as follows, where to mark the beginning of a paragraph it is necessary to use <p> and to end it is necessary to use the tag </p> . Another aspect to highlight is that HTML is divided into two parts , these being ‘header’ and ‘body’.

HTML language header

In this part of the language we will find certain information that is not directly content of the web page . Such as metadata, javascript codes and more are what is usually put in this section. Below you can see all the data that can be part of the header or ‘head’.

  1. Contextual information of the page such as the title and data that are not clear in the body of the portal.
  2. Reference to all files where all those resources that our web page needs can be seen reflected.
  3. Scripts and styles, these are not really independent files, but they are also included in the header.

It should be noted that the tags for the operation of the HTML code are ‘<head>’ and ‘</head>’. Everything that is inside them will be part of the header , counted with its ‘sub-labels’.

HTML language body

On the other hand, in the body will be all the content of the web page, among this, we can find the texts, multimedia and even the links that are in it. This is structured in several sections and labeled correctly.

Likewise, the tag of this section of the web page are ‘<body>’ and ‘</body>’, among which everything mentioned above goes.

What are HTML tags?

The ‘tags’ refer to fragments of text formed by angle brackets <> which are used to write the different codes of the HTML language.

These tags will never be shown to the user who is viewing the web page. Basically these are the guides so that the codes of the websites can work correctly . This is because computers process the generation of the content of a web page from these.

That way, you know what content goes where and in the right style . In general, the structure of web pages with HTML language is as follows:

<html>

<head>

<title> Title of the web page </title>

In this part there is any information not directly related to the website.

</head>

<body>

Between the two tags goes all the content of the web page.

</body>

</html>

How has the evolution been from HTML to HTML5?

It is something really simple to explain. Well, this HTML5 is one of the last standard versions to come out related to this HTML language.

In a simpler way, it could be said that HTML5 is the same as saying HTML, but with the difference that it has some new features and other extra tags. In this, what would be the so-called semantic labels stand out and it also has greater compatibility with various multimedia content.

With the advancements in content on all web pages, the evolution from HTML to HTML5 has been rapid . The latter could be said to be the ‘improved’ version that allows a greater scope of content to be added.

by Abdullah Sam
I’m a teacher, researcher and writer. I write about study subjects to improve the learning of college and university students. I write top Quality study notes Mostly, Tech, Games, Education, And Solutions/Tips and Tricks. I am a person who helps students to acquire knowledge, competence or virtue.

Leave a Comment