LETS MAKE FIRST WEB PAGE:
As learing HTML is in essence learning "Tags" therere let's start making first web page with initial tags like <!doctype html>, <html>, <head>, <title>, <body>. The fuunction and necessity of these tags is explained below in great detail.
This tag is must in your page because it tells the browser about the type of document. If <!doctype html> is written then it means html type of document is used.
<!doctype html> this tag tells the document type
Next is <html> tag, this tag tells the browser about the language used.
head <head>tag, <title>tag
Head <head> tag is used to insert <title> tag. Title tag is used to show the name of page at the tab of browser.
<head> open head tag
<title> open title tag
</title> close title tag
</head> close head tag
body <body tag>
It is the most important tag because contents of webpage goes here. Any piece of informaton that you want to display on browser is written in body tag.
<body> open body tag
</body> close body tag
NOW WE MAKE A WEB PAGE THAT DISPLAY "WELCOME TO OUR WEBSITE" AND TITEL IS "OUR FIRST WEB PAGE". Let's start
<title>OUR FIRST WEB PAGE</title>
On browser you can see on the tab title is written and content is written on the page.
What is title and what is body ?
When some one search on internet, search engines e.g. Google enlists the titles on page. Visitor sees and click on title to enter the website.
Title is the door of web page and the body is that place where our content goes like text /images etc.