HTML 101

HTML 101

Hi guys! I hope you're good?

So I have always read articles on Hashnode and today I've decided to try it out.

For my very first article, I will be writing about HTML5. Being the first coding course I started learning ( lol, just kidding, c++ was my first), it's only natural I write about it.

HTML means Hypertext Markup Language. It is the primary coding language of the web. I've seen many arguments as to whether HTML is a markup or programming language. Well, I'll leave you to decide.

Hypertext describes content that contain links or references to another content, either within the same document or elsewhere. It simply means a text which contains links to another text.

Markup describes the form of the language and consists of annotation to text content.

A HTML document is divided into two( 2 ) sections: Head and Body. I'll also like to add that a HTML doc contains:-

  • Header section
  • Navigation bar
  • Body content which is divided into three( 3 ) columns
  • Articles and ad blocks within columns
  • Footer containing some author and copyright information

A simple HTML document:-

Screenshot (15).png

Basic HTML Tags and their definitions.

  • A html tag represents the root of the document.

  • A head tag represents the container for the metadata and is placed between the html tag and body tag.

  • A title tag as the name implies, is the title of your HTML document. The title is shown on the browser's title bar. A page title is very important for search engine optimization.

  • A body tag contains the content of the page. This element holds the images, tables, lists, forms, etc.

We also the have h( h1, h2, h3...h6) and p( p ) tags which is used to give importance on a page.

To continue learning the HTML tags and semantics, I would suggest a few good websites.

W3schools: HTML5 Tutorial

Freecodecamp: HTML5 Beginners guide

I wish you all the best!

ps* this is my first ever article, i hope i did okay??