In html tags are the fundamental elements use in creating a web page.eg This an example of paragraph <p> tag and this its close </p> .Before we start open notepad in your computer .
1. First step
Write the code <html> and closed it </html>
2.Second step.
withen the <html>tag open another tag called header and close it <head> </head>
your codes will look like this
<html>
<head>
</head>
</html>
3.Third step.
The next will be title tag ,put the <title> tag withen the header tag and close it <title></title>,withen two the title tags put discription of the webpage there .this will appear a the top of the tap of the browser you run the code. i will write "My First webpage".
your codes will look like this
<html>
<head>
<title>My First webpage</title>
</head>
</html>
4.Fourth step.
Now we will put the <body> tag this tag contains everything that suppose to be in your webpage .
your codes will look like this
<html>
<head>
<title>My First webpage</title>
</head>
<body>
</body>
</html>
lets put some thing in the body tag .now we will use the paragraph tag i was talking about
<html>
<head>
<title>My First webpage</title>
</head>
<body>
<p> I am creating webpage and its interesting and fantastic</p>
</body>
</html>
5. Fifth step.
Now create a new folder and name it website and save the file you created inside the folder.,You must save the file with extension (.html) or else it will not work. so i will save mine myfirst.html
Give a try and see you next time..
No comments:
Post a Comment