Hello! Welcome Back,
Now open the notepad by Typing notepad in Run command.
Now type the following codes in notepad and save it with extension .htm or .html.
HTML Source Code
<html> <head> <title>My First Web Page</title> </head> <body> This is the body of web page. You can learn many programming languages in our blog. We have collection of tutorials on ASP.NET, Java, Android, SQL, C, C++ and many languages. </body> </html>
Description of Above Code
Now I am going to describe the above codes.
First we started with <html> tag which starts the HTML language. This is to identify that the script is written in HTML for Web-Browsers.
Then we started <head> tag which is used to write scripts and for advance level use.
Next we started <title> tag. This produces title of page which is written in Title Bar of browser and displayed in Search Snippet on Search Engines.
Then we closed <title> tag using forward slash </title>.
Then we also closed tag </head> using forward slash .
Now our header area is closed and we have to start body of web page with <body> tag.
We can write anything we want to display in the webpage inside body area. After writing the body contents we have to close tag with </body> .
And finally we closed all HTML tags by the help of </html> tag.
Output Produced by Above Code
In brief these are the most important tags to create a webpage. Till then read our other posts on this category.