<?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[Getting Started With HTML]]></title><description><![CDATA[Getting Started With HTML]]></description><link>https://htmlforbeginner.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Thu, 24 Sep 2026 21:17:22 GMT</lastBuildDate><atom:link href="https://htmlforbeginner.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Getting Started With HTML - Building the Skeleton of a Webpage]]></title><description><![CDATA[What’s Inside -

What is HTML?

Behind the Scenes - How HTML Works?

Basic Structure of HTML Page

Example of a Webpage


Let us suppose you are building a house. Before starting the construction, you prepare a blueprint that outlines the layout, inc...]]></description><link>https://htmlforbeginner.hashnode.dev/getting-started-with-html-building-the-skeleton-of-a-webpage</link><guid isPermaLink="true">https://htmlforbeginner.hashnode.dev/getting-started-with-html-building-the-skeleton-of-a-webpage</guid><category><![CDATA[ChaiCode]]></category><category><![CDATA[ChaiCohort]]></category><category><![CDATA[HTML5]]></category><category><![CDATA[Web Development]]></category><dc:creator><![CDATA[Deepansh Vishwakarma]]></dc:creator><pubDate>Mon, 07 Jul 2025 08:00:32 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1751874888666/3c8357b5-e7da-42ab-8f8d-1d47afc76fa3.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-whats-inside">What’s Inside -</h2>
<ul>
<li><p>What is HTML?</p>
</li>
<li><p>Behind the Scenes - How HTML Works?</p>
</li>
<li><p>Basic Structure of HTML Page</p>
</li>
<li><p>Example of a Webpage</p>
</li>
</ul>
<p><em>Let us suppose you are building a house. Before starting the construction, you prepare a blueprint that outlines the layout, including the rooms, doors, windows, and walls. Similarly, HTML serves as the blueprint for a webpage. Without a blueprint, it's unclear where each component belongs; without HTML, a browser cannot render any webpage.</em> <strong><em>HTML is the foundation of any Webpage.</em></strong></p>
<p><em>Once the structure is in place, painting, decorating, and beautifying the house requires an additional layer of design. This is where CSS (Cascading Style Sheets) comes in. In this article, we provide a brief introduction to HTML.</em></p>
<h2 id="heading-what-is-html">What is HTML? -</h2>
<p><strong>HTML</strong> stands for <strong>Hyper Text Markup Language.</strong> It tells the browser how to display the page layout and content. It allows the developer to define the structure of the webpage as it should appear in the browser. HTML is the markup language used for creating and designing the structure of a web page. It provides various <strong>tags</strong> or <strong>elements</strong> to define different sections of a website.</p>
<h2 id="heading-behind-the-scenes-the-working-of-html">Behind the Scenes - The Working of HTML -</h2>
<p>HTML is the backbone of the Web. The browser renders the Page or Website from top to bottom and displays the content according to the different Tags or Elements provided by the HTML markup. HTML will be rendered by the Browser line by line.</p>
<p>For example, for rendering of image, HTML contains &lt;img&gt; tag</p>
<p>For inserting a heading or a link - it provides with &lt;h1&gt; tag or &lt;a&gt; tag</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1751873436125/3a62b632-b91d-4cc9-b8ef-07c20e608b8e.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-basic-structure-of-html">Basic Structure of HTML -</h2>
<pre><code class="lang-html"><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>Document<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">link</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-comment">&lt;!-- Website content goes here --&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>
<p>Now, let us understand each code line by line -</p>
<h2 id="heading-ltdoctype-htmlgt">&lt;!DOCTYPE html&gt;</h2>
<p><strong>&lt;!DOCTYPE&gt;</strong> specifies the version of HTML i.e., HTML5. It helps the Browser to render the Web page correctly.</p>
<h2 id="heading-lthtml-langengt-amp-lthtmlgt">&lt;html lang=”en”&gt; &amp; &lt;/html&gt;</h2>
<p>It is the root element of the Webpage, wrapping all the content of the Webpage. Contains <code>lang=“en”</code> to help for browsers to understand the language as per the <strong>Attribute</strong>.</p>
<h2 id="heading-ltheadgt-amp-ltheadgt">&lt;head&gt; &amp; &lt;/head&gt;</h2>
<p>The <code>&lt;head&gt;</code> tag contains <strong>metadata</strong> (data about data) and other information that <strong>doesn't appear on the visible webpage</strong>. It also encloses with the closing <code>&lt;/head&gt;</code> tag.</p>
<h3 id="heading-ltmetagt">&lt;meta&gt;</h3>
<p>The <code>&lt;meta&gt;</code> tag provides <strong>meta-information</strong> to the browser.</p>
<p><code>&lt;meta charset="UTF-8"&gt;</code> – It defines character encoding.</p>
<p><code>&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;</code> – It helps with mobile responsiveness.</p>
<h3 id="heading-lttitlegt-amp-lttitlegt">&lt;title&gt; &amp; &lt;/title&gt;</h3>
<p>Used to give the title of the webpage.</p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>Netflix<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
</code></pre>
<h3 id="heading-ltlinkgt">&lt;link&gt;</h3>
<p>Used inside <code>&lt;head&gt;</code> to link the external files or resources like CSS, any favicons, or fonts etc.</p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">link</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"stylesheet"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"styles.css"</span>&gt;</span>
</code></pre>
<h2 id="heading-ltbodygt-amp-ltbodygt">&lt;body&gt; &amp; &lt;body/&gt;</h2>
<p>The visible part of the webpage is enclosed with the &lt;body&gt; tag. All the content, like images, headings, links, buttons, text, etc. Everything inside the <code>&lt;body&gt;</code> is <strong>rendered on the screen</strong>.</p>
<pre><code class="lang-html"><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>This is my webpage.<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>
</code></pre>
<h2 id="heading-lthtmlgt">&lt;/html&gt;</h2>
<p>It closes the HTML document. Used after the &lt;/body&gt; tag.</p>
<h2 id="heading-example-of-html-document">Example of HTML document -</h2>
<pre><code class="lang-html"><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>My Website<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>Welcome to my Webpage<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>Lorem ipsum dolor sit amet consectetur adipisicing elit. Perspiciatis explicabo ipsam voluptatum voluptatibus temporibus odio delectus placeat, esse, quidem iusto deserunt? Officia ipsa odit blanditiis delectus neque exercitationem laudantium perferendis.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">button</span>&gt;</span>Click Me<span class="hljs-tag">&lt;/<span class="hljs-name">button</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>
<p>Preview -</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1751874020182/1e7fe596-3c1f-4382-b508-897537c9064b.png" alt class="image--center mx-auto" /></p>
<p><em>Beginning with HTML is the essential first step on the journey to becoming a web developer. Although it may seem straightforward, HTML serves as the foundation for every website you encounter online. By grasping how HTML functions, understanding its basic structure, and learning to use tags effectively.</em></p>
]]></content:encoded></item></channel></rss>