<?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: Spicyborg</title>
    <description>The latest articles on DEV Community by Spicyborg (@spicyborg).</description>
    <link>https://dev.to/spicyborg</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%2F808150%2Ff4d10ee9-757b-441e-a45f-2ad1f42f993f.png</url>
      <title>DEV Community: Spicyborg</title>
      <link>https://dev.to/spicyborg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/spicyborg"/>
    <language>en</language>
    <item>
      <title>🧠 Mem0_r1se 01: What is HTML?</title>
      <dc:creator>Spicyborg</dc:creator>
      <pubDate>Wed, 02 Feb 2022 16:17:33 +0000</pubDate>
      <link>https://dev.to/spicyborg/mem0r1se-01-what-is-html-3l2i</link>
      <guid>https://dev.to/spicyborg/mem0r1se-01-what-is-html-3l2i</guid>
      <description>&lt;h2&gt;
  
  
  HTML stands for HyperText Markup Language.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;HTML, while being the building block of the Web, is, by definition, not a programming language, but a markup language.&lt;/li&gt;
&lt;li&gt;A markup language is here to help you format a page and its content the way you want. It also provides some meaning/semantic to the different parts of a text in a document.&lt;/li&gt;
&lt;li&gt;HTML files are used to create the structure of a WebPage and to contain its content, like text, links, images. You can compare it to text files, with extra complexity.&lt;/li&gt;
&lt;li&gt;The hypertext part refers to the use of links/hyperlinks to connect/redirect to other web pages.&lt;/li&gt;
&lt;li&gt;Everything that looks pretty, or that you can interact with, is not being taken care of by HTML, but by CSS, a style sheet language, and Javascript, a programing language.&lt;/li&gt;
&lt;li&gt;As of 2022, there's a general consensus to use a standardized version of HTML, the 5th iteration of HTML, HTML5.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  HTML has its own syntax.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;When you write HTML, you will need to understand that it uses a specific syntax.&lt;/li&gt;
&lt;li&gt;This syntax is based around opening and closing tags, which is defined as an element.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;openingtag&amp;gt; element &amp;lt;/closingtag&amp;gt;

&amp;lt;p&amp;gt;Here is some text in a paragraph element.&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;HTML possesses a lot of different elements, some are used often and some are used in rare situations.&lt;/li&gt;
&lt;li&gt;Some tags are self-closing, like the

&lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt;

tag.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Your first HTML page.
&lt;/h2&gt;

&lt;p&gt;Creating an HTML file and rendering your first webpage is really easy.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You need to create a file with any name you want, but not in a .txt format. You need to use the .html format.&lt;/li&gt;
&lt;li&gt;Then you write some text as you do in a text document.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When you open this HTML document in a Web browser, it will look like that:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YzuKbocx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1643809521948/VpE-jCcT_.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YzuKbocx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1643809521948/VpE-jCcT_.png" alt="Untitled.png" width="703" height="188"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;That's why we are using HTML tags,  to structure, organize and contain your content.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you don't use any tags element, you won't be able to create a meaningful webpage.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When you write a word-text document, you use headings and paragraphs. You will do the same in HTML and give meaning and semantics to your structure with different specific tags.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The classic structure of an HTML file.
&lt;/h2&gt;

&lt;p&gt;Without going into details, the basic structure is this one:&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;html&amp;gt;
    &amp;lt;head&amp;gt;

    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;

    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;html&lt;/strong&gt; element tag that will contain all the other HTML elements.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;html&amp;gt;

&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;head&lt;/strong&gt; element that will contain information about your website, but won't render on the page. It can give a title, a description, or create a link to another file.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;head&amp;gt;

&amp;lt;/head&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;body&lt;/strong&gt; element is what the user will see on the webpage, and require a specific structure to help developers work more efficiently.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;body&amp;gt;

&amp;lt;/body&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The classic structure of the body element.
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;body&amp;gt;
        &amp;lt;header&amp;gt;
            &amp;lt;nav&amp;gt;

            &amp;lt;/nav&amp;gt;
        &amp;lt;/header&amp;gt;
        &amp;lt;main&amp;gt;
            &amp;lt;article&amp;gt;
                &amp;lt;h1&amp;gt;Some text&amp;lt;/h1&amp;gt;
                &amp;lt;p&amp;gt;Way more text&amp;lt;/p&amp;gt;
            &amp;lt;/article&amp;gt;
        &amp;lt;/main&amp;gt;
        &amp;lt;footer&amp;gt;
            &amp;lt;nav&amp;gt;&amp;lt;/nav&amp;gt;
        &amp;lt;/footer&amp;gt;
    &amp;lt;/body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You will need a &lt;strong&gt;header&lt;/strong&gt; element. The header will be there to introduce your content, it will contain a navigational link, a logo, a name, a search bar, and will usually be at the top of the page.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;header&amp;gt;

&amp;lt;/header&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You will need the &lt;strong&gt;main&lt;/strong&gt; element. It will contain your main content and will be split into different sections if needed.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;main&amp;gt;

&amp;lt;/main&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You will need a &lt;strong&gt;section&lt;/strong&gt; or article &lt;strong&gt;element&lt;/strong&gt; to organize the structure of your content.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;article&amp;gt;

&amp;lt;/article&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You will add some headings, paragraphs, links, or images elements inside those sections/articles elements...
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;article&amp;gt;
    &amp;lt;h1&amp;gt;Here is the main header.&amp;lt;/h1&amp;gt;
    &amp;lt;p&amp;gt;Here you will write your paragraph and everything you have to say.&amp;lt;/p&amp;gt;
&amp;lt;/article&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You will need a &lt;strong&gt;footer&lt;/strong&gt; element that will usually be at the bottom of the page and could contain additional information, like the name of the author, the copyright, another navigational bar, or some link to your social media pages.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;footer&amp;gt;

&amp;lt;/footer&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;The basic structure should look like that:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;html&amp;gt;
    &amp;lt;head&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &amp;lt;header&amp;gt;
            &amp;lt;nav&amp;gt;
            &amp;lt;/nav&amp;gt;
        &amp;lt;/header&amp;gt;
        &amp;lt;main&amp;gt;
            &amp;lt;article&amp;gt;
                &amp;lt;h1&amp;gt;Some text&amp;lt;/h1&amp;gt;
                &amp;lt;p&amp;gt;Way more text&amp;lt;/p&amp;gt;
            &amp;lt;/article&amp;gt;
        &amp;lt;/main&amp;gt;
        &amp;lt;footer&amp;gt;
            &amp;lt;nav&amp;gt;&amp;lt;/nav&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;There's a lot to tell and a lot to present about HTML, but what you must remember is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;it is the building block of the web.&lt;/li&gt;
&lt;li&gt;it is a document, with a specific format.&lt;/li&gt;
&lt;li&gt;it is a markup language used to structure and format your content.&lt;/li&gt;
&lt;li&gt;it has its own syntax and semantics.&lt;/li&gt;
&lt;li&gt;it uses opening and closing tags to create elements.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Thanks for reading.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;If you find any big mistakes in my post, please, let me know about it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can find me on &lt;a href="https://twitter.com/spicyborg"&gt;twitter&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you want to learn more about HTML, CSS, or Javascript, I recommend you to start with &lt;a href="https://www.freecodecamp.org/"&gt;FreeCodeCamp&lt;/a&gt;, or to join the community &lt;a href="https://leonnoel.com/100devs/"&gt;100Devs&lt;/a&gt; on discord. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For any questions or requests, don't hesitate to contact me.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In addition to various youtube videos, here are my principal sources:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://marksheet.io/"&gt;https://marksheet.io/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.learn-html.org/en/Links"&gt;https://www.learn-html.org/en/Links&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://learn.shayhowe.com/html-css/"&gt;https://learn.shayhowe.com/html-css/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

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