<?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: Anubhav Jain</title>
    <description>The latest articles on DEV Community by Anubhav Jain (@anubhav823).</description>
    <link>https://dev.to/anubhav823</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%2F390003%2F93fc2105-dc2f-4860-b0a1-4fe7f6c515da.jpg</url>
      <title>DEV Community: Anubhav Jain</title>
      <link>https://dev.to/anubhav823</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anubhav823"/>
    <language>en</language>
    <item>
      <title>HTML Head and Metadata</title>
      <dc:creator>Anubhav Jain</dc:creator>
      <pubDate>Wed, 10 Aug 2022 14:21:50 +0000</pubDate>
      <link>https://dev.to/anubhav823/html-head-and-metadata-2fk9</link>
      <guid>https://dev.to/anubhav823/html-head-and-metadata-2fk9</guid>
      <description>&lt;p&gt;HTML head is the part of an HTML document that never actually shows up on a webpage. Why then, do we make an effort to write it? Well, the job of the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; tag is not to display stuff on the screen, but to serve the metadata about the webpage.&lt;br&gt;
What is metadata, you ask? Well, metadata is data about the data. It is the data that describes what the data being served actually contains. It is usually not meant for humans though. The &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; tag contains information that helps machines understand what a webpage contains. We will talk about it soon.&lt;/p&gt;

&lt;p&gt;Lets go by the most used tags inside HTML &lt;code&gt;head&lt;/code&gt; tag-&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;lt;title&amp;gt;&lt;/code&gt;- The &lt;code&gt;&amp;lt;title&amp;gt;&lt;/code&gt; tag is probably among the top five most well-known tags of an HTML page. It contains the text that is displayed on the tab as the name of the page. It is also the text that shows up as the name when we bookmark a tab in our browsers.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt;- This is the tag we use to link our CSS styles to our webpages.&lt;br&gt;
For example-&lt;br&gt;
&lt;code&gt;&amp;lt;link rel="stylesheet" href="my-css-file.css"&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt;- The tag to link the all-encompassing javascript files to our webpages. This tag however comes with a catch. We should use the keyword &lt;code&gt;defer&lt;/code&gt; when using this tag inside &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;.&lt;br&gt;
For example-&lt;br&gt;
&lt;code&gt;&amp;lt;script src="script.js" defer&amp;gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;br&gt;
What &lt;code&gt;defer&lt;/code&gt; does is tells our webpage to load the javascript after the html and css files have finished loading. This is because javascript takes time to load which may cause our webpage to take a longer time to load on browsers. This is turn, reduces our webpage's SEO score and cause our website to visible to fewer and fewer people. And we don't want to be in the second page of Google Search now, do we?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;lang&lt;/code&gt;- This attribute is used along with the opening &lt;code&gt;&amp;lt;html&amp;gt;&lt;/code&gt; tag. &lt;br&gt;
&lt;code&gt;&amp;lt;html lang="en-US"&amp;gt;&lt;/code&gt;&lt;br&gt;&lt;br&gt;
While this tag is often overlooked by beginner web developers but it is very important as search engines are better able to index our webpages when the &lt;code&gt;lang&lt;/code&gt; attribute is present.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;meta&amp;gt;&lt;/code&gt;- Although everything inside the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; tag is already a part of the metadata, HTML provides an &lt;em&gt;official&lt;/em&gt; way of adding metadata to our webpages. This is where &lt;code&gt;&amp;lt;meta&amp;gt;&lt;/code&gt; comes in. It helps us add several types of metadata to our webpages.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;charset&lt;/code&gt;- &lt;code&gt;charset&lt;/code&gt; is something we use to set the character encoding for our webpages. We use it to tell the browser what convention to follow to convert digital data from binary to decimal to character form.They are of different types such as ANSI, ASCII or UTF-8.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;name&lt;/code&gt; and &lt;code&gt;content&lt;/code&gt;- these attributes are used with &lt;code&gt;meta&lt;/code&gt; tags to set the properties such as name of the author, description of the file and stuff like that.
For example-
&lt;code&gt;&amp;lt;meta name="author" content="Anubhav Jain"&amp;gt;&lt;/code&gt;
Such tags are pretty helpful for SEO or in case someone wants to know who developed a particular page.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;Favicons&lt;/code&gt;- another way of enriching our webpages is adding a small icon to our page. These are small but good features to have in our webpages.&lt;br&gt;&lt;br&gt;
For example-&lt;br&gt;&lt;br&gt;
&lt;code&gt;&amp;lt;link rel="icon" href="favicon.ico" type="image/x-icon"&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Well, that's it folks! If it helps, do like this post. If you would like to reach out, you can find me on &lt;a href="https://www.linkedin.com/in/anubhav-j/"&gt;LinkedIn&lt;/a&gt; or &lt;a href="https://twitter.com/anubhavjain9015"&gt;Twitter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>html</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Git</title>
      <dc:creator>Anubhav Jain</dc:creator>
      <pubDate>Tue, 02 Aug 2022 12:12:58 +0000</pubDate>
      <link>https://dev.to/anubhav823/git-2f9f</link>
      <guid>https://dev.to/anubhav823/git-2f9f</guid>
      <description>&lt;p&gt;Git is probably one of the most used tools by programmers. While it is the most used tools, it is also a bit difficult to grasp by beginners. I wrote this tutorial in order to give you an overview of git and understand how to use its various features.&lt;/p&gt;

&lt;p&gt;Suppose you work in a bakery making cakes for customers. The bakery here represents the organization you are working for. Now, you probably aren't the only one working there. There are others alongside you who make cakes as well. All the bakers use the bakery's common storeroom to get the ingredients required to make the cakes. The storeroom here represents the master code or the main code that everyone uses to develop new features or fix existing code.&lt;br&gt;
Imagine how troublesome it will be if all the bakers took the same ingredients and started working on making the same cake all at once. Someone might add extra sugar or not add some other ingredient, resulting in a horrible tasting cake.&lt;br&gt;
This is where the branching feature of git comes into play. All the bakers take the same ingredients from the store and start working on their individual cakes in their individual kitchens based on different customer's requirements. In other words, all the engineers are making changes to the same code without being affected by what others are doing. This in short, is what is probably the most famous feature git has to offer. If you are with me till now, keep reading!&lt;/p&gt;

&lt;p&gt;Now, once the cakes are ready, we can't just send it out to the customers without any review. We take our peers' help to make sure the cake is beautiful to look at as well as the taste is up to the mark. This is what engineers do when they raise a pull request.&lt;br&gt;
They ask their peers to review their code and suggest our changes before merging the code into a release branch. Once, it is in a release branch, it is tested once again to make sure we did not miss out on any issues that may pop up later and irritate the customer. &lt;/p&gt;

&lt;p&gt;Now, how to make sure that our code is used up by other software engineers when they write new features to the codebase? We merge our branch with the master. Now, when someone uses the master code to start development. Our code will be present in there as well. Simple!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>productivity</category>
    </item>
    <item>
      <title>ChatBot</title>
      <dc:creator>Anubhav Jain</dc:creator>
      <pubDate>Wed, 20 May 2020 06:36:57 +0000</pubDate>
      <link>https://dev.to/anubhav823/chatbot-m04</link>
      <guid>https://dev.to/anubhav823/chatbot-m04</guid>
      <description>&lt;p&gt;Hey everyone.&lt;br&gt;
This is my first post here. I recently built a generative chatbot using keras. The chatbot uses LSTMs and dense layers to provide output to the user. The chatbot is currently text-based, however, I plan to add text-to-speech to it as well.&lt;/p&gt;

</description>
      <category>deeplearning</category>
      <category>python</category>
      <category>beginners</category>
      <category>chatbot</category>
    </item>
  </channel>
</rss>
