<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tahir Khan</title>
    <description>The latest articles on DEV Community by Tahir Khan (@tahir_khan_4cd08f20d77741).</description>
    <link>https://dev.to/tahir_khan_4cd08f20d77741</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3928296%2Febaf94bd-2a71-4793-9013-cef12ed1b269.jpg</url>
      <title>DEV Community: Tahir Khan</title>
      <link>https://dev.to/tahir_khan_4cd08f20d77741</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tahir_khan_4cd08f20d77741"/>
    <language>en</language>
    <item>
      <title>Emmet for HTML Beginners</title>
      <dc:creator>Tahir Khan</dc:creator>
      <pubDate>Tue, 19 May 2026 03:50:58 +0000</pubDate>
      <link>https://dev.to/tahir_khan_4cd08f20d77741/emmet-for-html-beginners-428h</link>
      <guid>https://dev.to/tahir_khan_4cd08f20d77741/emmet-for-html-beginners-428h</guid>
      <description>&lt;p&gt;Emmet is a developer tool, which helps us to write faster code in our code editor, Some editors comes with built in Emmet tool, for some we have to manually install it.&lt;/p&gt;

&lt;p&gt;Before Emmet we have to manually write opening and closing tag, which you know little frustrating and also consume a lot of our time. But nowadays nobody does that, except some teacher in our college 😂.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div&amp;gt; &amp;lt;/div&amp;gt;
&amp;lt;p&amp;gt; &amp;lt;/p&amp;gt;
&amp;lt;h1&amp;gt; &amp;lt;/h1&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How it is useful ?
&lt;/h2&gt;

&lt;p&gt;It provides different shortcuts to write code in much faster way, like when you type "!" and click enter it will automatically generate full boilerplate code which shown in the below image&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr2tlozwis8zmzkxdv2u2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr2tlozwis8zmzkxdv2u2.png" alt=" " width="728" height="376"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Imagine writing this much code every-time you create a new page, That's how it work's for other tags. It helps us&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;⚡ Writing faster code&lt;/li&gt;
&lt;li&gt;❌ Make less mistake on syntax&lt;/li&gt;
&lt;li&gt;😣 Focus on what really matters i.e programming logic&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Basic Emmet Syntax
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Element Name
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div     → &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;
a       → &amp;lt;a href=""&amp;gt;&amp;lt;/a&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Classes
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div.container    → &amp;lt;div class="container"&amp;gt;&amp;lt;/div&amp;gt;
.header          → &amp;lt;div class="header"&amp;gt;&amp;lt;/div&amp;gt;  (div is default)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;ID's
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div#main         → &amp;lt;div id="main"&amp;gt;&amp;lt;/div&amp;gt;
input#username   → &amp;lt;input type="text" id="username"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Child
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div&amp;gt;p        → &amp;lt;div&amp;gt;
                &amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;
               &amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Sibling
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div+p        → &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;
               &amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Multiplication
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ul&amp;gt;li*3      → &amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;
div.item*4    → &amp;lt;div class="item"&amp;gt;&amp;lt;/div&amp;gt; (4 times)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Text Content
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;p{Hello World}        → &amp;lt;p&amp;gt;Hello World&amp;lt;/p&amp;gt;
a{Click Here}         → &amp;lt;a href=""&amp;gt;Click Here&amp;lt;/a&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These are some of the basic Emmet commands which will be useful while writing your HTML.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Tip - Don't blindly follow everything you see on the internet, follow what is fast for you, I think basic Emmet commands are useful but the complex ones isn't that much (personal opinion).&lt;br&gt;
Thank you for your time 🙏&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>webdev</category>
      <category>developertool</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
