|
You can create an HTML file with any text editor, word processor or with a variety of tools such as Allaire's HomeSite© or Microsoft® Front Page. The pages themselves are plain text files (ASCII) with special tags or codes that a web browser knows how to interpret and display on your screen. Before you start, you should know a few basic things about tags:
You type in the page and then save it with a .html or a .htm extension to the file (for example mypage.html). If you use a word processor, remember to save the file as "text only with line breaks". So, here is a very basic HTML document: <!doctype html public "-//W3C//DTD HTML 4.0//EN"> <html> <head> <title>Ann’s HTML document</title> </head> <body>A very simple HTML document.</body> </html> The first line contains the HTML version number and document type definition. You don’t really need to know much about this line but there is a description in the A to Z of tags. The rest of the HTML document starts with the <html> tag that tells your browser that this is the start of an HTML document. The last tag in your document is a corresponding </html> tag. You must have this closing tag. Within your <html> and </html> tags, you need to put the two main sections of an HTML document: the header and the body.
|
More information How do I create an HTML page? |