An HTML file can be viewed in any browser and is therefore platform independent, contrary to a word processor file.
An HTML file is also very much lighter in size than a word processor file, so that it can be sent via e-mail quicker and takes up less disk space. Below is explained how a text can be put in HTML in a simple way. Only the most elementary aspects of HTML are considered.
For further study one may consult a book or web tutorial. For writing text with simple layout in HTML though these elementary matters suffice. First, make a template for all future documents.
Start a text editor, like Notepad. Type or copy and paste the following:. End with an empty line Enterinvisible here of course. Save the file under the name template.
Also allowed is template. Note that when saving, in the box "Save as type: Write a text in your regular word processor. This has the advantages of automatic spell checking and word completion. Keep the following in mind:.
And the exact wrapping positions are unpredictable, as they depend on the screen resolution and browser settings of the reader, and on the way in which the text will be placed between the navigation elements on the eventual web page by the web master. When a wrapping position accidentally coincides with a manual new line, no one will see the difference. When the text is ready, select it e. Open the file template. Do not use spaces in file names.
02 - Writing Text to a Page - HTML Tutorials
Everything between those tags forms the visible content of the page. Now you have something like:. He can fly and play well.
In the daytime he is allowed out of his cage. He eats and drinks in his cage. He has many toys: What is between those is not visible on the page, but displayed on top of the browser window.
Also, search engines use this title for indexing the page. Find it and open it by double-clicking; it is opened in the standard browser. It will show all off the text crammed together.
Some more HTML code is needed to shape the page. The browser will now display it big, bold and surrounded by whitespace. To save time you can type it once, and then copy and paste where needed. If the target is a file in the same folder as the page itself, only the file name needs needs to be between the quotation marks:. Also go here is good to know that consecutive spaces are ignored in HTML, and shown as one space.
To align things with spaces therefore is not possible. This yields seven spaces, three of which are ordinary spaces included between the no-break spaces. The no-break space may also serve to prevent word wrap between two words that surround it.
If one is interested in further study of HTML, a good tutorial is on http: