HTML Get Started

HTML Get Started

HTML elements are represented by tags. HTML tags are element names enclosed by brackets.

 
<tag-name>Webite Content</tag-name>

Most of HTML tags normally used in pairs like <p> and </p>. First tag in a pair is the opening tag and second tag is the closing tag. Follow our steps and you will learn how to create Web Page Easily.

First of All we need 2 things.

  1. A simple Text Editor like Notepad, Notepad++, Dream viewer Etc.
  2. A web Browser like Google Chrome, Mozilla Firefox, Edge, Opera etc.

To begin coding HTML you need only two stuff: a simple-text editor and a web browser.

Let’s Create First HTML Document

Step 1: Creating the HTML file

Open any of text editor and create a new blank file.

Step 2: Type HTML code

type the following code:

 
<!DOCTYPE html>
<html lang="en">
<head>
<title> My First HTML Document </title>
</head>
<body>
<p>Hello World!!!!!</p>
</body>
</html>

Step 3: Save the file

Now save the file on your desktop named with “myfirstwebpage.html “.

It’s essential that the extension file should be specified as  .html otherwise that won’t work.

Find file where you saved it and open it with any browser or just double click on it and it ll open in your default browser. And you can see the result of your html code.

So you created your first html web page. It was so easy.