{"id":3430,"date":"2025-10-05T00:00:00","date_gmt":"2025-10-04T22:00:00","guid":{"rendered":"https:\/\/tecnologia.euroinnova.com\/html\/"},"modified":"2026-08-05T11:08:32","modified_gmt":"2026-08-05T09:08:32","slug":"html","status":"publish","type":"post","link":"https:\/\/tecnologia.euroinnova.com\/en\/html","title":{"rendered":"HTML"},"content":{"rendered":"<p dir=\"ltr\">Just as a house is built on foundations, the basis of a website is<strong> its HTML code<\/strong>. This acronym stands for Hypertext Markup Language (<strong>Hypertext Markup Language<\/strong>, in English). It is regarded as a standard for creating web pages on the Internet, as it allows the entire structure of a page to be built using sections, paragraphs, links, tags, attributes and many other elements.<\/p>\n<p dir=\"ltr\">To summarise, <strong>HTML is used for developing web pages. <\/strong>Developers write HTML code to design a website\u2019s interface using graphical elements such as images and videos, text, hyperlinks, etc.<\/p>\n<p dir=\"ltr\">It is worth noting that, although for many people outside the field of IT and programming this is indeed the case, <strong>HTML is not a<\/strong><a href=\"https:\/\/tecnologia.euroinnova.com\/en\/most-used-programming-languages\/\"><strong> programming language<\/strong><\/a>, as it does not allow you to perform calculations, make logical decisions or manipulate data dynamically.<\/p>\n<p dir=\"ltr\">Would you like to see an example of <strong>HTML <\/strong>Right now? Right-click and select \u201cInspect\u201d to open a window showing you the entire HTML structure.<\/p>\n<h2 dir=\"ltr\" id=\"estructura-principal-de-un-elemento-html\">Main structure of an HTML element<\/h2>\n<p dir=\"ltr\">All l<strong>HTML pages contain a series of HTML elements consisting of tags and attributes organised into different blocks<\/strong>. A tag tells search engines where an element begins and where it ends, whilst attributes are used to describe the graphical characteristics of an element.<\/p>\n<p dir=\"ltr\">The three main parts found in all HTML elements are:<\/p>\n<ul>\n<li dir=\"ltr\"><strong>Opening:<\/strong> is used to indicate the start of an element, and is bounded by anti-lambdas (&lt; &gt;). For example, to create a paragraph, you need to write an element &lt;p&gt;.<\/li>\n<li dir=\"ltr\"><strong>Contents:&nbsp;<\/strong>This is the part of the label that users will see; it is what gives the element its meaning.<\/li>\n<li dir=\"ltr\"><strong>Closing:<\/strong> marks the end of an element in the same way as its start, but with the addition of a slash. For example, the closing tag for the element &lt;p&gt; would be &lt;\/p&gt;.<br \/>&nbsp;<\/li>\n<\/ul>\n<p dir=\"ltr\">However, there are some exceptions, such as the tag &lt;img&gt; or the label &lt;a&gt; which we shall look at below. These tags do not have a closing tag beyond the corresponding anti-lambda, as they cannot contain any other nested elements. To the <strong>HTML elements<\/strong> Those without a closure are referred to as empty elements.<\/p>\n<h2 dir=\"ltr\" id=\"estructura-principal-de-una-pagina-htm\">Main structure of an HTML page<\/h2>\n<p dir=\"ltr\">In terms of structure, the basic elements required to create an HTML page are:<\/p>\n<ul>\n<li dir=\"ltr\"><strong>&lt;html&gt;:&nbsp;<\/strong>It defines the start and end of a document.<\/li>\n<li dir=\"ltr\"><strong>:<\/strong> It contains essential non-visual information about the HTML document in the form of metadata.<\/li>\n<li dir=\"ltr\"><strong>&lt;body&gt;:<\/strong> It contains all the visible content of a web page.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\">With just these three opening and closing elements, you can create a document <strong>HTML<\/strong>. However, there are countless other elements you need to be familiar with in order to structure an entire HTML page and make the most of its features.<\/p>\n<h2 dir=\"ltr\" id=\"principales-etiquetas-html\">Main HTML tags<\/h2>\n<p dir=\"ltr\">Below, we have listed the main tags that<strong> are used in HTML to create standard blocks<\/strong>:<\/p>\n<ul>\n<li dir=\"ltr\"><strong>Label &lt;h1&gt; a &lt;h6&gt;:<\/strong> Define headings at different levels to create a hierarchy of content relevance for search engines. The most important heading on a page is a &lt;h1&gt; and the one with the least, in a &lt;h6&gt;. However, most web pages tend to use only the following headings &lt;h1&gt;, &lt;h2&gt; y &lt;h3&gt;.<\/li>\n<\/ul>\n<p dir=\"ltr\">Example:<\/p>\n<p dir=\"ltr\">&lt;h1&gt;Level 1 heading&lt;\/h1&gt;<\/p>\n<p dir=\"ltr\">&lt;h2&gt;Level 2 heading&lt;\/h2&gt;<\/p>\n<ul>\n<li dir=\"ltr\"><strong>Label &lt;p&gt;:<\/strong> Define a paragraph.<\/li>\n<\/ul>\n<p dir=\"ltr\">Example:<\/p>\n<p dir=\"ltr\">&lt;p&gt;This is a sample paragraph&lt;\/p&gt;<\/p>\n<ul>\n<li dir=\"ltr\"><strong>Label &lt;a&gt;:<\/strong> Create a link to another page or resource.<\/li>\n<\/ul>\n<p dir=\"ltr\">Example:<\/p>\n<p dir=\"ltr\">&lt;a href=&quot;\/en\/&raquo;https:\/\/www.ejemplo.com&raquo;\/&quot;&gt;Example link&lt;\/a&gt;<\/p>\n<ul>\n<li dir=\"ltr\"><strong>Label &lt;img&gt;:<\/strong> Insert an image into the page.<\/li>\n<\/ul>\n<p dir=\"ltr\">Example:<\/p>\n<p dir=\"ltr\">&lt;img src=&quot;&raquo;ruta_de_la_imagen.jpg&raquo;&quot; alt=&quot;&raquo;Description&amp;quot;&quot; de la imagen&raquo;&gt;<\/p>\n<ul>\n<li dir=\"ltr\"><strong><ul> and <li> tags:<\/strong> Create an unordered list. To create a numbered list, replace <ul> with <ol>.<\/li>\n<\/ul>\n<p dir=\"ltr\">Example:<\/p>\n<p dir=\"ltr\"><ul><\/p>\n<p dir=\"ltr\">&nbsp;&nbsp;<li>Item 1<\/li><\/p>\n<p dir=\"ltr\">&nbsp;&nbsp;<li>Item 2<\/li><\/p>\n<p dir=\"ltr\">&nbsp;&nbsp;<li>Item 3<\/li><\/p>\n<p dir=\"ltr\"><\/ul><\/p>\n<ul>\n<li dir=\"ltr\"><strong>Label &lt;strong&gt;:<\/strong> Defines text that is emphasised or stands out, and is displayed in bold in most browsers.<\/li>\n<\/ul>\n<p dir=\"ltr\">Example:<\/p>\n<p dir=\"ltr\">&lt;p&gt;This is a text &lt;strong&gt;important&lt;\/strong&gt;.&lt;\/p&gt;<\/p>\n<ul>\n<li dir=\"ltr\"><strong><em> tag:&nbsp;<\/strong>Defines emphasised text that appears in italics in most browsers.<\/li>\n<\/ul>\n<p dir=\"ltr\">Example:<\/p>\n<p dir=\"ltr\">&lt;p&gt;This is a text &lt;em&gt;emphasised&lt;\/em&gt;.&lt;\/p&gt;<\/p>\n<p dir=\"ltr\">These are just a few examples that illustrate <strong>HTML tags<\/strong> the most basic ones, but there are hundreds of them that fulfil very important functions in a website\u2019s interface and structure.<\/p>","protected":false},"excerpt":{"rendered":"<p>Al igual que una casa se erige sobre unos cimientos, la base de un sitio web es su c\u00f3digo HTML. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[25],"tags":[],"class_list":["post-3430","post","type-post","status-publish","format-standard","hentry","category-metaterminos"],"acf":[],"_links":{"self":[{"href":"https:\/\/tecnologia.euroinnova.com\/en\/wp-json\/wp\/v2\/posts\/3430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tecnologia.euroinnova.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tecnologia.euroinnova.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tecnologia.euroinnova.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tecnologia.euroinnova.com\/en\/wp-json\/wp\/v2\/comments?post=3430"}],"version-history":[{"count":0,"href":"https:\/\/tecnologia.euroinnova.com\/en\/wp-json\/wp\/v2\/posts\/3430\/revisions"}],"wp:attachment":[{"href":"https:\/\/tecnologia.euroinnova.com\/en\/wp-json\/wp\/v2\/media?parent=3430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tecnologia.euroinnova.com\/en\/wp-json\/wp\/v2\/categories?post=3430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tecnologia.euroinnova.com\/en\/wp-json\/wp\/v2\/tags?post=3430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}