A Web page is a text file intended to be viewed with a Web browser.
A Web page is an ordinary text file. It can be created with an ordinary text editor (such as Notepad.) What makes a Web page special is that:
You probably know all this already.
But,
just for fun, select the View/Source
menu item
in your browser to
see the text file behind what your browser is showing.
If you are using
Internet Explorer this
will open
the file with Notepad.
The actual text file does not look like what you see in the browser. Notice the HTML tags (such as <p> and <ol>) that give the browser information about how to display the file.
Notes:
Web pages that have been created using a commercial tool like Frontpage usually look like gibberish when you view the source. But they are still text files.
Web pages that use frames cannot be viewed using
View/Source
.
Often Web page authors do this deliberately to hide their
HTML source from users.
Although the Web page itself is text, tags within it can ask for non-text objects to be included, such as:
Are the HTML tags visible in the browser display?