<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[HTML The Skeleton of a Website]]></title><description><![CDATA[HTML The Skeleton of a Website]]></description><link>https://html-the-skeleton-of-a-website.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 16:46:37 GMT</lastBuildDate><atom:link href="https://html-the-skeleton-of-a-website.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[HTML Explained: The Backbone of Website Design]]></title><description><![CDATA[What is HTML?
Hyper Text Markup Language or HTML is a markup language used to build the structure of a website. It includes various technologies, Tech Stack to build a website and HTML is the backbone to create a website. HTML is nothing but a docume...]]></description><link>https://html-the-skeleton-of-a-website.hashnode.dev/html-explained-the-backbone-of-website-design</link><guid isPermaLink="true">https://html-the-skeleton-of-a-website.hashnode.dev/html-explained-the-backbone-of-website-design</guid><category><![CDATA[ChaiCode]]></category><category><![CDATA[HTML5]]></category><category><![CDATA[HTML]]></category><dc:creator><![CDATA[Sumit Raskar]]></dc:creator><pubDate>Thu, 23 Jan 2025 13:17:32 GMT</pubDate><content:encoded><![CDATA[<h1 id="heading-what-is-html">What is HTML?</h1>
<p>Hyper Text Markup Language or HTML is a markup language used to build the structure of a website. It includes various technologies, Tech Stack to build a website and HTML is the backbone to create a website. HTML is nothing but a document that maps links to external links. The front end of a website contains HTML, CSS, and JS. HTML for structure what content, headline, paragraph, and image will be visible. CSS is used for the website's look, such as the color of a section/text. and at the end, JS or Javascript is used for the logic of the website what should happen if you click a button, etc.</p>
<p>Let's understand HTML using a real-life analogy: think of the human body. Our bones provide structure, and without them, we wouldn't be able to stand; we'd just be a collection of muscles and a brain. Similarly, HTML provides the structure for a website.</p>
<h1 id="heading-html-tags">HTML Tags</h1>
<h2 id="heading-what-are-tags">What are Tags?</h2>
<p>Tags are used to define the structure of the website. by using this we can decide what is a section. and what is a header or footer. Tags come in pairs, an opening tag and a closing tag, Like this.</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span> <span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<h3 id="heading-lets-see-some-examples-of-tags">Let’s see some examples of tags</h3>
<div class="hn-table">
<table>
<thead>
<tr>
<td>HTML Tag</td><td>Description</td></tr>
</thead>
<tbody>
<tr>
<td>&lt;p&gt;</td><td>Defines a paragraph</td></tr>
<tr>
<td><a target="_blank" href="https://www.w3schools.com/tags/tag_hn.asp">&lt;h1&gt; to &lt;h6&gt;</a></td><td>Defines HTML headings</td></tr>
<tr>
<td><a target="_blank" href="https://www.w3schools.com/tags/tag_img.asp">&lt;img&gt;</a></td><td>Defines an image</td></tr>
<tr>
<td><a target="_blank" href="https://www.w3schools.com/tags/tag_link.asp">&lt;link&gt;</a></td><td>Defines the relationship between a document and an external resource (most used to link to style sheets)</td></tr>
<tr>
<td><a target="_blank" href="https://www.w3schools.com/tags/tag_script.asp">&lt;script&gt;</a></td><td>Defines a client-side script</td></tr>
<tr>
<td><a target="_blank" href="https://www.w3schools.com/tags/tag_section.asp">&lt;section&gt;</a></td><td>Defines a section in a document</td></tr>
<tr>
<td><a target="_blank" href="https://www.w3schools.com/tags/tag_style.asp">&lt;style&gt;</a></td><td>Defines style information for a document</td></tr>
<tr>
<td><a target="_blank" href="https://www.w3schools.com/tags/tag_table.asp">&lt;table&gt;</a></td><td>Defines a table</td></tr>
<tr>
<td><a target="_blank" href="https://www.w3schools.com/tags/tag_title.asp">&lt;title&gt;</a></td><td>Defines a title for the document</td></tr>
<tr>
<td><a target="_blank" href="https://www.w3schools.com/tags/tag_hr.asp">&lt;hr&gt;</a></td><td>Defines a thematic change in the content</td></tr>
</tbody>
</table>
</div><h2 id="heading-types-of-tags">Types of Tags</h2>
<p>There are 2 types of tags that help in defining the structure of a website i.e Semantic tags and Non-Semantic tags</p>
<h2 id="heading-semantic-tag">Semantic Tag</h2>
<p>Semantic tags in HTML are elements that provide meaning about the content they contain, making it easier for both browsers and developers to understand the structure and purpose of a webpage. These tags enhance the readability of the HTML code and also improve accessibility and search engine optimization (SEO).</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">section</span>&gt;</span>This is a semantic Tag<span class="hljs-tag">&lt;/<span class="hljs-name">section</span>&gt;</span>
</code></pre>
<h2 id="heading-non-semantic-tag">Non-Semantic Tag</h2>
<p>Non-semantic tags in HTML are elements that don't provide specific meaning about the content they contain. They are mainly used for layout and styling instead of describing the type of content inside them. This makes them flexible but less informative compared to semantic tags.</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>This is a non-semantic tag.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<h1 id="heading-hierarchy-of-an-html-document">Hierarchy of an HTML Document</h1>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1737638074974/39969136-d80a-4c98-bd58-3cbbc9db678f.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-example-of-a-simple-html-document">Example of a simple HTML document</h3>
<pre><code class="lang-xml"><span class="hljs-meta">&lt;!DOCTYPE <span class="hljs-meta-keyword">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">html</span> <span class="hljs-attr">lang</span>=<span class="hljs-string">"en"</span>&gt;</span>

<span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">meta</span> <span class="hljs-attr">charset</span>=<span class="hljs-string">"UTF-8"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">meta</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"viewport"</span> <span class="hljs-attr">content</span>=<span class="hljs-string">"width=device-width, initial-scale=1.0"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>Hello World<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>

<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">h1</span>&gt;</span>Hello, World!<span class="hljs-tag">&lt;/<span class="hljs-name">h1</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>Welcome to my first HTML page.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>

<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<hr />
<h3 id="heading-thank-you-for-reading">Thank you for reading</h3>
]]></content:encoded></item></channel></rss>