Learn HTML

Chapter 1 - Introduction

Why HTML is so important?

It's nearly impossible to write a webpage without HTML. So if you want to be a web developer you must have a knowledge of HTML.

What is HTML?

Hyper Text Markup Language commonly known as HTML is a code with that browser read and render web pages accordingly. It's not really a programming language instead it's a markup language. By reading which browser decides that what would be the content and structure of content, to render webpage.

So without HTML you will not be able to tell browser that which part of your text is a heading, paragaraph, table, list, link, image and so on.

Below is a sample code of HTML. We will discuss more on it in chapter 2.

<!DOCTYPE html>
<html language="en">
    <head>
        <title>My First Page</title>
    <head>
    <body>
        Hello world!!!
    </body>
</html>

To run above code in your machine, open a notepad -> copy above html code to file -> and save it with ".html" extension e.g. myfirst.html. Once done double click new file and it will be open in your machine browser.

Note: The page you are reading is also rendered by browser using HTML.

Chapter 2 - HTML Basic