Tuesday, November 18, 2014

Introduction to HTML

HTML or Hypertext Markup Language is the most widely used language on Web. As its name sounds it is a markup language which may sound complicated but not so. In present HTML is used to create the structure of a web document. The web sites that we see today in the internet are not only created using HTML, there are some more languages and styles used which will we talk in future.


Basic Structure of a Web Page


Above picture shows the basic structure of a web page. 

Basic rules of web page:-
  • Web page must start with a <html> tag and end with a </html> tag.
  • All the opened tags must be closed.
  • Tags must start to close with the most recent opened tag and move to the earliest.

These basic rules must be strictly followed. HTML is not case sensitive.

There are two main parts in a web page. These are HEAD and the BODY.
<head> is just a container for all other header elements. It should be the first thing to appear after the opening <html> tag.

<body>  contains the whole weight of the web page. 


We will discuss <head> tag in detail in the next article. 


Share with friends....

No comments:

Post a Comment