Introduction to HTML

Introduction to HTML

Introduction to HTML

Introduction to HTML

Introduction to HTML
Introduction to HTML


 

HTML (Hypertext Markup Language) is used to create document on the World Wide Web. It is simply a collection of certain key words called ‘Tags’ that are helpful in writing the document to be displayed using a browser on Internet. HTML was developed by Tim Berners-Lee in 1992.

 It is a platform independent language that can be used on any platform such as Windows, Linux, Macintosh, and so on. To display a document in web it is essential to mark-up the different elements (headings, paragraphs, tables, and so on) of the document with the HTML tags. To view a mark-up document, user has to open the document in a browser. A browser understands and interpret the HTML tags, identifies the structure of the document (which part are which) and makes decision about presentation (how the parts look) of the document.

HTML also pro vides tags to make the document look attractive using graphics, font size and colors. User can make a link to the other document or the different section of the same document by creating Hypertext Links also known as Hyperlinks.

CREATING, SAVING AND VIEWING A HTML DOCUMENT

Creating a HTML document

The essential tags that are required to create a HTML document are:
•    <HTML>.............</HTML>
•    <HEAD>.............</HEAD>
•    <BODY>.............</BODY>
 

Example:

  <HTML>

             <HEAD>
                     <TITLE>My Web Page</TITLE>
             </HEAD>
             <BODY>
                   <H1>it is my first HTML page.</H1>
             </BODY>
   </HTML>

Steps:

1.  First open the nodepad or any editor.

2. Type the same code as above.

3. Save the file with extension .htm or .html.

4. The file will display with webpage icon.

5. open the file in  browser like(IE, Mozila, Crome , etc.)