Blog · 04/07/2021
HTML: an introduction
HTML (Hypertext Marked Language) is a code that is used to build a web page and all its contents.
The web can be structured using HTML in paragraphs, lists with vignets, data tables and images.
What is HTML?
HTML is a mark language, i.e. it is not a programming language and consists of a series of elements that are used to lock the different parts of the content so that they can be seen or behaved in a certain way.
Closing tags can be an image, a hyperlink or a word, this allows you to change the sizes of the texts or put in black or cursive.
Texto de ejemplo
In the event that this phrase is to indicate that it is a paragraph it would be placed through the labels ( <p> ZXQEND0000QXZ ):
<p>Texto de ejemplo</p>
Parts of a HTML element
The main parts of a HTML element are:
- Opening label: It is the name of the element, closed between opening and closing parentesis. It allows stable where the element effect begins.
- Closing label: It is the same as the opening label but also includes a closing bar before the name of the label itself, stable where the element ends and its effect.
- Content: It is the part that encompasses the opening and closing tags.
- The element is the opening label, plus the closing label and the content itself.

Attributes
Attributes allow to add additional information to the elements, these attributes do not appear in the actual content of the element itself.
<p class="texto-resaltado">Texto de prueba</p>
When we indicate class in the element, we refer to the name of the attribute to which we add the value text-resalted .
Using the class attribute allows you to give the item an identification name that can be used to add to the item more style information for example.
A attribute always contains:
- A space between the name of the element and this (or a previous attribute, if the element possesses an attribute already or more)
- The name of the attribute, follow by the same sign (=)
- The opening and closing comelets, to close the value of the attribute.
Attributes must always include the opening label of an item, never at the closure.
For further information you can visit the website of MDN Web Docs .