6) Creating HTML Document
Dear learners now let‟s concern ourselves to create our first web page using the above tags that we have learned in the previous lesson.
Follow the steps to create a webpage and view in a browser:
Step-1: First of all we will need a HTML editor for creating html page.
Open text editor Notepad
(Click on Star- All Programs- Accessories- Notepad)
Follow the steps to create a webpage and view in a browser:
Step-1: First of all we will need a HTML editor for creating html page.
Open text editor Notepad
(Click on Star- All Programs- Accessories- Notepad)
Figure- Notepad
Step-2: Write the following HTML code into your Notepad:
<html>
<head>
<title>
My first Page
</title>
Step-2: Write the following HTML code into your Notepad:
<html>
<head>
<title>
My first Page
</title>
</head>
<body>
WELCOME TO MY FIRST WEB PAGE
</body>
WELCOME TO MY FIRST WEB PAGE
</body>
</html>
Figure- HTML document in Notepad
Saving HTML Document
To save your file follows the following steps
Step-1: Click on file
Step-2: Click save
Step-3: Select the location where you want to save (For example H:\HTML Coding)
Step-4: Write file name (as myfirstpage.html)
Step-5: Click save as type and choose All Files
Step-6: Click Encoding and choose UTF-8
Step-7: Click save.
Step-1: Click on file
Step-2: Click save
Step-3: Select the location where you want to save (For example H:\HTML Coding)
Step-4: Write file name (as myfirstpage.html)
Step-5: Click save as type and choose All Files
Step-6: Click Encoding and choose UTF-8
Step-7: Click save.
Figure 2.3 Saving the HTML document in Notepad
0 comments:
Post a Comment