HTML document and Web page
HTML document is a text file, made up of tags and attributes which work together to decide how the contents of the web page should be displayed on the browser. When an HTML document is opened by a browser, what we get is a web page.
Tags are the commands used in the HTML document that tell web browsers how to format and organise web pages to show the contents. Most tags are used in pairs - an opening tag and a closing tag. Eg: < HTML > and < / HTML >.
Tags that require opening and closing tags are known as container tags.
Tags that do not require closing tag are known as empty tags. Eg: < BR >, < IMG > p >
The Basic structure of an HTML document contains 4 sets of HTML Tags.
< html >....< / html >
< head > ...< / head >
< title > .... < / title >
< body > ....< / body >
< html >
< head >
< title > My first page< / title > < / head>
< body bgcolor="blue" text="yellow" >
Welcome To World of Web Technology
< / body >
< / html >