<?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: Adepu Spandana</title>
    <description>The latest articles on DEV Community by Adepu Spandana (@adepu_spandana_6b2dcae32f).</description>
    <link>https://dev.to/adepu_spandana_6b2dcae32f</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2589518%2F1db5b818-1887-45ae-8f8f-5f3160ce8f16.png</url>
      <title>DEV Community: Adepu Spandana</title>
      <link>https://dev.to/adepu_spandana_6b2dcae32f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adepu_spandana_6b2dcae32f"/>
    <language>en</language>
    <item>
      <title>HTML BASICS</title>
      <dc:creator>Adepu Spandana</dc:creator>
      <pubDate>Thu, 19 Dec 2024 07:37:48 +0000</pubDate>
      <link>https://dev.to/adepu_spandana_6b2dcae32f/html-basics-3ed</link>
      <guid>https://dev.to/adepu_spandana_6b2dcae32f/html-basics-3ed</guid>
      <description>&lt;p&gt;What is HTML?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;- HTML stands for Hyper Text Markup Language&lt;/li&gt;
&lt;li&gt;- HTML is the standard markup language for creating Web pages&lt;/li&gt;
&lt;li&gt;- HTML describes the structure of a Web page&lt;/li&gt;
&lt;li&gt;- HTML consists of a series of elements&lt;/li&gt;
&lt;li&gt;- HTML elements tell the browser how to display the content&lt;/li&gt;
&lt;li&gt;- HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;A Simple HTML Document&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Example&lt;/p&gt;

&lt;p&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;br&gt;
Page Title&lt;br&gt;
&lt;br&gt;


&lt;h1&gt;My First Heading&lt;/h1&gt;

&lt;p&gt;My first paragraph.&lt;/p&gt;



&lt;p&gt;&lt;strong&gt;HTML History&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Since the early days of the World Wide Web, there have been many versions of HTML:&lt;/p&gt;

&lt;p&gt;Year         Version&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;1989  Tim Berners-Lee invented www&lt;/li&gt;
&lt;li&gt;1991  Tim Berners-Lee invented HTML&lt;/li&gt;
&lt;li&gt;1993  Dave Raggett drafted HTML+&lt;/li&gt;
&lt;li&gt;1995  HTML Working Group defined HTML 2.0&lt;/li&gt;
&lt;li&gt;1997  W3C Recommendation: HTML 3.2&lt;/li&gt;
&lt;li&gt;1999  W3C Recommendation: HTML 4.01&lt;/li&gt;
&lt;li&gt;2000  W3C Recommendation: XHTML 1.0&lt;/li&gt;
&lt;li&gt;2008  WHATWG HTML5 First Public Draft&lt;/li&gt;
&lt;li&gt;2012  WHATWG HTML5 Living Standard&lt;/li&gt;
&lt;li&gt;2014  W3C Recommendation: HTML5&lt;/li&gt;
&lt;li&gt;2016  W3C Candidate Recommendation: HTML 5.1&lt;/li&gt;
&lt;li&gt;2017  W3C Recommendation: HTML5.1 2nd Edition&lt;/li&gt;
&lt;li&gt;2017  W3C Recommendation: HTML5.2&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;HTML HEADINGDS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HTML headings are defined with the &lt;/p&gt;
&lt;h1&gt; to &lt;/h1&gt;&lt;h6&gt; tags.

&lt;/h6&gt;&lt;h1&gt; defines the most important heading. &lt;/h1&gt;&lt;h6&gt; defines the least important heading: 

Example
&lt;/h6&gt;&lt;h1&gt;This is heading 1&lt;/h1&gt;

&lt;h2&gt;This is heading 2&lt;/h2&gt;

&lt;h3&gt;This is heading 3&lt;/h3&gt;

&lt;h4&gt;This is heading 1&lt;/h4&gt;

&lt;h5&gt;This is heading 2&lt;/h5&gt;

&lt;h6&gt;This is heading 3&lt;/h6&gt;





&lt;p&gt;&lt;strong&gt;HTML PARAGRAPHS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HTML paragraphs are defined with the &lt;/p&gt;
&lt;p&gt; tag:&lt;/p&gt;

&lt;p&gt;Example&lt;/p&gt;

&lt;p&gt;This is a paragraph.&lt;/p&gt;

&lt;p&gt;This is another paragraph.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML Links&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HTML links are defined with the &lt;a&gt; tag:&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Example&lt;/p&gt;

&lt;p&gt;&lt;a href="https://google.com" rel="noopener noreferrer"&gt;This is a link&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The link's destination is specified in the href attribute. &lt;/li&gt;
&lt;li&gt;Attributes are used to provide additional information about HTML elements.
You will learn more about attributes in a later chapter.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;HTML IMAGES&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HTML images are defined with the &lt;a href="" class="article-body-image-wrapper"&gt;&lt;img&gt;&lt;/a&gt; tag.&lt;/p&gt;

&lt;p&gt;The source file (src), alternative text (alt), width, and height are provided as attributes:&lt;/p&gt;

&lt;p&gt;Example&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/google.jpg" 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/google.jpg" alt="google.com" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML FORMATTING ELEMENTS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Formatting elements were designed to display special types of text:&lt;/p&gt;

&lt;p&gt;&lt;b&gt;              - Bold text&lt;br&gt;
&lt;strong&gt;         - Important text&lt;br&gt;
              - Italic text&lt;br&gt;
&lt;em&gt;             - Emphasized text&lt;br&gt;
           - Marked text&lt;br&gt;
&lt;small&gt;          - Smaller text&lt;br&gt;
&lt;del&gt;            - Deleted text&lt;br&gt;
            - Inserted text&lt;br&gt;
            - Subscript text&lt;br&gt;
&lt;sup&gt;            - Superscript text&lt;/sup&gt;&lt;/del&gt;&lt;/small&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML COMMENT TAG&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can add comments to your HTML source by using the following syntax:&lt;/p&gt;

&lt;p&gt;Notice that there is an exclamation point (!) in the start tag, but not in the end tag.&lt;/p&gt;

&lt;p&gt;Note: Comments are not displayed by the browser, but they can help document your HTML source code.&lt;/p&gt;

</description>
      <category>webdev</category>
    </item>
  </channel>
</rss>
