When we browse the different web pages we find a great variety of content, styles and designs. This is thanks to the HTML language, which serves to give a precise structure to the portals.
In this article we will know what the HTML language is, in addition to its characteristics and what function it performs within web pages. That is why here at Look How It Is Made, as usual, we will provide you with all the information you need to understand it.
What is HTML and what is it used for?
HTML is nothing more than a simple acronym in English for Hyper Text Markup Language, being in Spanish something like Hypertext Tag Language. And it is said that this is nothing more than an abstract language, which all applications use to represent a document.
When we say ‘document’ we mean complete instances such as web pages. In these we can find greater ease of transmission of information through the different channels. In addition, all browsers can analyze and interpret the HTML code or language, using HTML parsers.
Now the ‘hypertext’ makes references to all the links that the web pages contain within a specific web site or between several of these sites.
In general, the HMTL language is about tags, and it is used to create web pages which is widely used in WordPress. Because of how useful it is to be able to define and describe the structure of a web page and all its elements.
All this will be organized through tags, which describe the content of the page, be it text, photos, videos, among other things. It could be said that the HTML language is the one that is in charge of organizing and defining, as will be the appearance of this website and we can even connect it to a database such as Access .
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
- Contextual information of the page such as the title and data that are not clear in the body of the portal.
- Reference to all files where all those resources that our web page needs can be seen reflected.
- 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, counting this 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 all the aforementioned 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:
<title> Title of the web page </title>
In this part there is any information not directly related to the website.
Between the two tags goes all the content of the web page.
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 also has greater compatibility with various multimedia content.
With the advances 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.