What is html and basics of html

What is an HTML File?

  1. HTML stands for Hyper Text Markup Language.
  2. An HTML file is a text file containing small markup tags.
  3. The markup tags tell the Web browser how to display the page.
  4. An HTML file must have an htm or html file extension.

An HTML file can be created using any simple text editor like “Notepad” of the Microsoft Windows. First of all let me explain the above web page and how it is created, how easily it can be created. It is very easy to insert the element in the HTML pages simply by writing their tags and provide their attribute.

Basic Description of HTML File

The HTML file can be divided into the three parts:

  1. HTML Header
  2. HTML Body
  3. HTML Footer
  • HTML Header :- is the top most part of the HTML file in this section of the file we define the header of file and also Title of the file can be provided.
  • HTML Body :- is the middle part of file, in this section we define all text and elements which is to displayed on web page.
  • HTML Footer :- is the end section of the file.

How To Write a HTML File ?

To write a HTML file you need an text editor, open the text editor and start writing file as given below: Steps to write a file & view the web page:

  1. Open the text editor (e.g. notepad).
  2. Write the above file in it OR copy the above file and paste it on the notepad.
  3. Save this file as .htm or .html file extension (e.g. .htm , .html).
  4. Now open the Internet Browser and open the saved file.
  5. Now you can see your web page.

Leave a Reply

Related Posts: You may like

html5 video tag Complete Guide

How to get multiple selected values of select box in php

Responsive contact form html css

How to increase size of radio button

PHPKIDA Offering Free Tools:


Download Instagram Videos & Photos.

Download Now


Real Time Currency Converter

Convert Now


Robots.txt File Creater

Create Now


Compress yout HTML Code

Minify Now


Compress yout CSS Code

Minify Now


Compress yout JavaScript Code

Minify Now

Sign up for weekly update

Milkshake is almost ready. If you're interested in testing it out, then sign up below to get exclusive access.