View Single Post
 
Old Mar 19, 2008, 02:23 PM
pachyderm's Avatar
pachyderm pachyderm is offline
Legendary
 
Member Since: Jun 2007
Location: Washington DC metro area
Posts: 15,865
An html document is, in fact, written in plain text. It is just a code that tells a Web browser how to represent a page. You can take a look at the code using the View Page Source function of your browser. For most pages these days it will look horribly complex. Here is an example of a simple Web page as seen in a text editor, where I have replaced the <> in the code with a [] so it will actually show as text here:

[!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"]
HTML Code:
[HEAD]
[TITLE]Title of the web page [/TITLE]
[/HEAD]

[BODY]
An example of a simple [B]Web[/B] page.
[/BODY]
If I had not changed the code, replacing <> by []. here is how it would look in this message (because you are looking at it in a Web browser):

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>

<HEAD>
<TITLE>Title of the web page </TITLE>
</HEAD>

<BODY>
An example of a simple Web page.
</BODY>

</HTML>
__________________
Now if thou would'st
When all have given him o'er
From death to life
Thou might'st him yet recover
-- Michael Drayton 1562 - 1631