HTML #1 ~ What is HTML?



HTML, fully known as HyperText Markup Language, is one of the core technologies used in web developing along with CSS and JavaScript. It is called a markup langauge because people sometimes get confused with it being a programming langauge. Rather than writing actual programmable code, HTML is used to only structure and describe the content of a webpage.

When running an HTML document, we essentially use Google Chrome to display its webpage. As such downloading Google Chrome is a MUST! 👍

HTML Elements


HTML uses elements that describe different types of content. Elements always begin with and opening tag(<>) and end with a closing tag(). Within the tags, we insert the content that is displayed on the webpage itself.
Here are a few list of tags that are used for displaying content:
  • paragraphs
  • links
  • headings
  • images
  • videos
  • and many more.

    HTML Structure


    Knowing the structure of HTML is essential for creating webpages in the browser. In order to write HTML, we use tags to specify the various parts of HTML.

  • !DOCTYPE html: tag that tells the browser we are using a HTML codebase.

  • html tag: the direct parent tag of both head and body.

  • head tag: the section that contains the invisible parts of HTML such as title, CSS link, format, etc.

  • body tag: the section that contains the contents of HTML which are visible on the browser such as text, image, attributes, etc.
  • <!DOCTYPE html>
    <html>
      <head>
        <title>My Webpage</title>
      </head>
      <body>
        <h1>This is my Webpage!</h1>
      </body>
    </html>