<?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: Unicorn Labs (🦄)</title>
    <description>The latest articles on DEV Community by Unicorn Labs (🦄) (@unicornlabs).</description>
    <link>https://dev.to/unicornlabs</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%2F516905%2F41289109-9981-42a6-af4c-47c1bb1d9006.png</url>
      <title>DEV Community: Unicorn Labs (🦄)</title>
      <link>https://dev.to/unicornlabs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/unicornlabs"/>
    <language>en</language>
    <item>
      <title>HTML basics for absolute beginners</title>
      <dc:creator>Unicorn Labs (🦄)</dc:creator>
      <pubDate>Sat, 13 Apr 2024 05:45:48 +0000</pubDate>
      <link>https://dev.to/unicornlabs/html-basics-for-absolute-beginners-5b7a</link>
      <guid>https://dev.to/unicornlabs/html-basics-for-absolute-beginners-5b7a</guid>
      <description>&lt;blockquote&gt;
&lt;h2&gt;
  
  
  &lt;em&gt;You will never succeed as a web developer without learning these HTML fundamentals&lt;/em&gt;
&lt;/h2&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Contents
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Why do you need to master HTML ?&lt;/li&gt;
&lt;li&gt;HTML Primer&lt;/li&gt;
&lt;li&gt;Bonus Tips&lt;/li&gt;
&lt;li&gt;Conclusion&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Why do you need to master HTML ?
&lt;/h4&gt;

&lt;p&gt;HTML stands for Hyper Text Markup Language. It is the foundation Lego piece you need to get right to create any webpage. &lt;br&gt;
Learning good foundations in HTML can help you in 2 key areas&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SEO(Search Engine Optimization)&lt;/li&gt;
&lt;li&gt;Accessibility&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;
  
  
  SEO
&lt;/h4&gt;

&lt;p&gt;Before understanding about SEO, we need to understand what happens when you search for something in Google. &lt;a href="https://developers.google.com/search/docs/fundamentals/how-search-works" rel="noopener noreferrer"&gt;Here's&lt;/a&gt; a great article that summarizes the whole flow. Gist is that when Google crawls the web page, it indexes and ranks them. It serves the webpage when user searches for a specific query. SEO is the process for optimizing the webpage so that it can rank higher. A great way to do this is using Semantic HTML.&lt;/p&gt;
&lt;h4&gt;
  
  
  Accessibility
&lt;/h4&gt;

&lt;p&gt;Web is for everyone irrespective of their gender, race, caste, disability etc. It is not a place just for the elite. Making website accessible for people with disabilities is a great way to encourage more people to try out your website. Semantic HTML helps in terms of accessibility. &lt;br&gt;
Now that you know about why you need HTML, lets dive into fundamentals&lt;/p&gt;
&lt;h4&gt;
  
  
  HTML Primer
&lt;/h4&gt;

&lt;p&gt;To describe any piece of content on a webpage you need a tag. &lt;br&gt;
Some of the most commonly used tags are&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;h1&amp;gt;&amp;lt;/h1&amp;gt;
&amp;lt;h2&amp;gt;&amp;lt;/h2&amp;gt;
&amp;lt;h3&amp;gt;&amp;lt;/h3&amp;gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;a /&amp;gt;
&amp;lt;img /&amp;gt;
&amp;lt;select /&amp;gt;
&amp;lt;input /&amp;gt;
&amp;lt;form&amp;gt;&amp;lt;/form&amp;gt;
&amp;lt;body&amp;gt;&amp;lt;/body&amp;gt;
&amp;lt;button&amp;gt;&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can find the bigger list &lt;a href="https://www.w3schools.com/TAGs/" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;br&gt;
Each tag might have attributes to fine tune it to specific use cases. &lt;br&gt;
An example might be You are developing a website for artists and need a color selector you would use "color" in type attribute&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;input type="color" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here's a sample html page with some tags&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;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
    &amp;lt;title&amp;gt;Document&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    Hello, Everyone
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Bonus Tips
&lt;/h4&gt;

&lt;p&gt;While you can write text inside of div, using appropriate tag like h1/h2 is the best route of take in terms of SEO, as search engines indexes titles for keywords. Writing semantic HTML is very crucial If you want to create a website which many people want to use. &lt;/p&gt;

&lt;h4&gt;
  
  
  Conclusion
&lt;/h4&gt;

&lt;p&gt;HTML should be seen as a structure/blue print for any webpage you visit. HTML is a way to organize the text on any webpage. If you are building a house at least in the United states you would first set up the structure of the home, and then put in the walls, paint them etc. HTML structures your webpage just like a structure helps you in building the house.&lt;/p&gt;

&lt;p&gt;Please comment down If you want me to write any article about How search works. Please like this post If this helped you. &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>webdev</category>
      <category>html</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
