Thursday, May 17, 2018

Introduction 

- HTML is the standard hyper text markup language. 
- HTML, ML means markup language. 
- Markup language means, its represented by tags. 
- HTML is markup language so its elements are represented by tags. 
- Basically use for creating Web pages. 

Sample HTML Document Structure 

<!DOCTYPE html> this tag defines web page to be HTML5 or not.
<html> root tag of HTML web page.
<head> this tag contains meta information about the web page.
<title> this tag define a title for web page.
<body> this tag contains actual visible page content for web page.

<!DOCTYPE html>
<html>
    <head>
        <title>Title Of Web Page</title>
    </head>
    <body>
         This is sample html web page.
    </body>
</html>

- HTML tags enclosed by triangular bracket <>
- The first tag in a pair is the start tag, the second tag is the end tag.
- The end tag is written like the start tag, but with a forward slash inserted before the tag name.
 Ex. <body> first tag & </body> end tag.



Different HTML version are 

HTML 
HTML 2.0 
HTML 3.2 
HTML 4.01 
XHTML 
HTML5 

We will see features of all versions later post.