PoppyDog Help Center
Viewing the HTML source code
Each web page that is displayed in a browser is actually written in HTML code.
Consider the simple web page shown below:
The HTML source code for the simple web page shown above is:
<html>
<head>
</head>
<body>
<br>
<br>
<p align="center">
HELLO
</p>
</body>
</html>
Opening the .html or .htm file with a text editor
If the web page is stored on your computer (e.g. as a .html or .htm file), you can simply 'Open' the file in your favourite text editor
From your web page design tool
Most tools will allow you to view and edit the HTML of a web page.
Using a web browser
When viewing a web page in a browser (such as Internet Explorer), you can choose to view the HTML source code of that web page. For example, when viewing a web page in Internet Explorer, right click on the web page and select 'View Source':

When you click on 'View Source', a text editor will pop up which will display
the HTML source code for the web page you are viewing. You will be able to do
the same sort of thing in other browsers such as Netscape.
Tip: When the HTML source code is displayed in the text editor, you
can choose to save the HTML code displayed in a file (just like you can save
anything that is displayed in a text editor). This means that you can save the
HTML as a web page (with .html extension) and then open the newly saved web
page in your favourite web page designer tool and edit it in any way you want.
|