Open Text Editor and type
<html>
<head>
<title> My First Web Page </title>
</head>
<body>
<h1>My First Heading</h1>
</body>
</html>
Save file as index.html.
Please assure you corretly type extention as .html or .htm, otherwise browser not consider the file as valid web page.
Open the index.html in your favorite browser like Internet Explorer, FireFox etc.
The above Fig 01. shows our First Web Page
HTML code always starts with <body>(open tag) tag and close with </body>(close tag).
Between body tag we write our all HTML code.
After body tag we type <head> tag and </head> tag.
In head tag we write the <title></title> tag for HTML web page.
All type all external script like Javascript will be place in <head> tag
Web page Contains like Text, Images, Links should be written between <body></body> tag.
powered by multimediagyan ©
No comments:
Post a Comment