{"id":11,"date":"2024-01-18T20:20:08","date_gmt":"2024-01-18T20:20:08","guid":{"rendered":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/?p=11"},"modified":"2024-03-27T14:51:02","modified_gmt":"2024-03-27T14:51:02","slug":"understanding-html-the-foundation-of-the-web","status":"publish","type":"post","link":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/","title":{"rendered":"Creating your first web page in pure HTML \ud83c\udf89"},"content":{"rendered":"\n<p>In our previous HTML example, we aimed to provide you with a quick overview to get you started. However, we need to delve deeper into the essential elements of a proper HTML file to ensure clarity and correctness.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"lets-revisit-we-wrote-initially\">Let&#8217;s revisit we wrote initially<\/h3>\n\n\n\n<pre class=\"wp-block-code lang-html\"><code>&lt;p&gt;A paragraph of text&lt;\/p&gt;\n\n&lt;ul&gt;\n  &lt;li&gt;First item&lt;\/li&gt;\n  &lt;li&gt;Second item&lt;\/li&gt;\n  &lt;li&gt;Third item&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/code><\/pre>\n\n\n\n<p>While this allowed us to create a functional HTML page, it lacked some fundamental elements necessary for a well-formed HTML document. Consider the following improved version:<\/p>\n\n\n\n<pre class=\"wp-block-code lang-html\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n  &lt;head&gt;\n\n  &lt;\/head&gt;\n  &lt;body&gt;\n    &lt;p&gt;A paragraph of text&lt;\/p&gt;\n\n    &lt;ul&gt;\n      &lt;li&gt;First item&lt;\/li&gt;\n      &lt;li&gt;Second item&lt;\/li&gt;\n      &lt;li&gt;Third item&lt;\/li&gt;\n    &lt;\/ul&gt;\n  &lt;\/body&gt;\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"now-lets-break-down-the-key-components\">Now, let&#8217;s break down the key components<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>&lt;!DOCTYPE html&gt;<\/code><\/strong>: This declaration, placed at the top, signals to the browser that the document is an HTML file.<\/li>\n\n\n\n<li><code><strong>&lt;html&gt;<\/strong><\/code>: The root element that wraps the entire HTML document. Inside it, you&#8217;ll find the <code>&lt;head&gt;<\/code> and <code>&lt;body&gt;<\/code> sections.<\/li>\n\n\n\n<li><strong><code>&lt;head&gt;<\/code><\/strong>: This section contains meta-information about the document, such as the title, character set, linked stylesheets, and more. In this example, it&#8217;s left empty for simplicity.<\/li>\n\n\n\n<li><strong><code>&lt;body&gt;<\/code><\/strong>: The container for the visible elements of the page. It encompasses the content you want to display, including paragraphs, lists, images, and more.<\/li>\n<\/ul>\n\n\n\n<p>It&#8217;s crucial to note that an HTML document should have only one occurrence of the <code>&lt;html&gt;<\/code>, <code>&lt;body&gt;<\/code>, and <code>&lt;head&gt;<\/code> elements.<\/p>\n\n\n\n<p>Additionally, notice the indentation used in this example. Each nested tag, such as <code>&lt;head&gt;<\/code> inside <code>&lt;html&gt;<\/code> or <code>&lt;ul&gt;<\/code> inside <code>&lt;body&gt;<\/code>, is indented for clarity. Indentation helps maintain a &#8220;tree structure,&#8221; making it easier to visually parse and understand the hierarchy of elements in an HTML file.<\/p>\n\n\n\n<p>Whether you prefer a 2-character or 4-character indentation (or tabs), consistency is key to ensuring a clean and organized HTML structure. Adopting a systematic approach will greatly enhance your ability to navigate and modify HTML files effectively.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our previous HTML example, we aimed to provide you with a quick overview to get you started. However, we need to delve deeper into&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"gallery","meta":{"footnotes":""},"categories":[18,19,22],"tags":[],"class_list":["post-11","post","type-post","status-publish","format-gallery","hentry","category-code","category-guides","category-2-html","post_format-post-format-gallery"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating your first web page in pure HTML \ud83c\udf89 - Zento<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating your first web page in pure HTML \ud83c\udf89 - Zento\" \/>\n<meta property=\"og:description\" content=\"In our previous HTML example, we aimed to provide you with a quick overview to get you started. However, we need to delve deeper into...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/\" \/>\n<meta property=\"og:site_name\" content=\"Zento\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-18T20:20:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-27T14:51:02+00:00\" \/>\n<meta name=\"author\" content=\"Jonathan Doe\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan Doe\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/\",\"url\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/\",\"name\":\"Creating your first web page in pure HTML \ud83c\udf89 - Zento\",\"isPartOf\":{\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#website\"},\"datePublished\":\"2024-01-18T20:20:08+00:00\",\"dateModified\":\"2024-03-27T14:51:02+00:00\",\"author\":{\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/73c40f6ccae14171f66e46de64b7ba55\"},\"breadcrumb\":{\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating your first web page in pure HTML \ud83c\udf89\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#website\",\"url\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/\",\"name\":\"Zento\",\"description\":\"Thoughts, stories and ideas.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/73c40f6ccae14171f66e46de64b7ba55\",\"name\":\"Jonathan Doe\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a726515546b3cba9511994084a492b5a58cf40acd8faff68586319f1844de21a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a726515546b3cba9511994084a492b5a58cf40acd8faff68586319f1844de21a?s=96&d=mm&r=g\",\"caption\":\"Jonathan Doe\"},\"description\":\"Actively writing articles for this website. I really like traveling and photography, follow me on @Twitter i share content there everyday.\",\"sameAs\":[\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\"],\"url\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating your first web page in pure HTML \ud83c\udf89 - Zento","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/","og_locale":"en_US","og_type":"article","og_title":"Creating your first web page in pure HTML \ud83c\udf89 - Zento","og_description":"In our previous HTML example, we aimed to provide you with a quick overview to get you started. However, we need to delve deeper into...","og_url":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/","og_site_name":"Zento","article_published_time":"2024-01-18T20:20:08+00:00","article_modified_time":"2024-03-27T14:51:02+00:00","author":"Jonathan Doe","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jonathan Doe","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/","url":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/","name":"Creating your first web page in pure HTML \ud83c\udf89 - Zento","isPartOf":{"@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#website"},"datePublished":"2024-01-18T20:20:08+00:00","dateModified":"2024-03-27T14:51:02+00:00","author":{"@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/73c40f6ccae14171f66e46de64b7ba55"},"breadcrumb":{"@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/understanding-html-the-foundation-of-the-web\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/"},{"@type":"ListItem","position":2,"name":"Creating your first web page in pure HTML \ud83c\udf89"}]},{"@type":"WebSite","@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#website","url":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/","name":"Zento","description":"Thoughts, stories and ideas.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/73c40f6ccae14171f66e46de64b7ba55","name":"Jonathan Doe","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a726515546b3cba9511994084a492b5a58cf40acd8faff68586319f1844de21a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a726515546b3cba9511994084a492b5a58cf40acd8faff68586319f1844de21a?s=96&d=mm&r=g","caption":"Jonathan Doe"},"description":"Actively writing articles for this website. I really like traveling and photography, follow me on @Twitter i share content there everyday.","sameAs":["https:\/\/themes.estudiopatagon.com\/wordpress\/zento"],"url":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/author\/admin\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":2,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":1237,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/posts\/11\/revisions\/1237"}],"wp:attachment":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}