<?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: Sanjay Pasari</title>
    <description>The latest articles on DEV Community by Sanjay Pasari (@sanjay-pasari).</description>
    <link>https://dev.to/sanjay-pasari</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%2F1113062%2Fac84d1ea-09e3-4a1e-9c7b-f292d9191b05.png</url>
      <title>DEV Community: Sanjay Pasari</title>
      <link>https://dev.to/sanjay-pasari</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sanjay-pasari"/>
    <language>en</language>
    <item>
      <title>A Beginner's Guide to HTML - Sanjay Pasari</title>
      <dc:creator>Sanjay Pasari</dc:creator>
      <pubDate>Thu, 06 Jul 2023 05:55:18 +0000</pubDate>
      <link>https://dev.to/sanjay-pasari/a-beginners-guide-to-html-sanjay-pasari-4nb1</link>
      <guid>https://dev.to/sanjay-pasari/a-beginners-guide-to-html-sanjay-pasari-4nb1</guid>
      <description>&lt;p&gt;&lt;strong&gt;Hello, I'm Sanjay Pasari, just want to share some information for beginners on topic HTML.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HTML (&lt;strong&gt;HyperText Markup Language&lt;/strong&gt;) is the foundation of every web page you see on the internet. As a beginner, learning HTML is an essential step in becoming a web developer. In this blog, we will explore the basics of HTML and get you started on your journey to building your own web pages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Getting Started&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;HTML Document Structure&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Every HTML document follows a basic structure known as the HTML boilerplate. It consists of several elements, including the &amp;lt;!DOCTYPE&amp;gt;, , &lt;/p&gt;, and  tags. Here is an example:&lt;br&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&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;My First Web Page&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;h1&amp;gt;Welcome to My Website&amp;lt;/h1&amp;gt;
    &amp;lt;p&amp;gt;This is my first web page!&amp;lt;/p&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The &amp;lt;!DOCTYPE html&amp;gt; tag declares the document type as HTML5. The  tag wraps the entire HTML content, while the &lt;/p&gt; tag contains meta information and the  tag includes the visible content of the web page.

&lt;p&gt;&lt;em&gt;&lt;strong&gt;HTML Elements and Tags&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;HTML is made up of various elements, each represented by an opening and closing tag.&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;This is a Heading&amp;lt;/h1&amp;gt;
&amp;lt;p&amp;gt;This is a paragraph.&amp;lt;/p&amp;gt;
&amp;lt;a href="https://www.example.com"&amp;gt;Visit Example.com&amp;lt;/a&amp;gt;
&amp;lt;img src="image.jpg" alt="Image Description"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;em&gt;HTML Attributes&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HTML tags can have attributes that provide additional information about the element. Attributes are placed within the opening tag, and they consist of a name and a value.&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;a href="https://www.example.com"&amp;gt;Visit Example.com&amp;lt;/a&amp;gt;
&amp;lt;img src="image.jpg" alt="Image Description"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the above code snippet, the URL and image file name are provided as attribute values.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Building a Web Page&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Now that you have a basic understanding of HTML, let's build a simple web page. Here is an example of a web page structure:&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&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;My First Web Page&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;header&amp;gt;
        &amp;lt;h1&amp;gt;Welcome to My Website&amp;lt;/h1&amp;gt;
    &amp;lt;/header&amp;gt;

    &amp;lt;nav&amp;gt;
        &amp;lt;ul&amp;gt;
            &amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
            &amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;About&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
            &amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Services&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
            &amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Contact&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
        &amp;lt;/ul&amp;gt;
    &amp;lt;/nav&amp;gt;

    &amp;lt;section&amp;gt;
        &amp;lt;h2&amp;gt;About Me&amp;lt;/h2&amp;gt;
        &amp;lt;p&amp;gt;I am a beginner web developer looking to learn more about HTML and CSS.&amp;lt;/p&amp;gt;
    &amp;lt;/section&amp;gt;

    &amp;lt;footer&amp;gt;
        &amp;lt;p&amp;gt;© 2021 My Website. All rights reserved.&amp;lt;/p&amp;gt;
    &amp;lt;/footer&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, we have added a header, navigation bar, content section, and footer to create a more complete web page structure.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;HTML is the building block of the web, and learning the basics is the first step towards becoming a web developer. In this blog, we covered the HTML boilerplate, essential HTML tags, attributes, and how to structure a basic web page. Now that you have a solid foundation, you can start exploring more advanced HTML concepts and continue to build upon your skills. Happy coding!&lt;/p&gt;

</description>
      <category>html</category>
      <category>beginners</category>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
