HTML Code

<HTML>
<HEAD>
<TITLE>
Writing Workshop II Home Page</TITLE>
</HEAD>
<BODY>
Writing Workshop II <P>
Y20.7503.01/.04 / Spring 1996 <P>
Anne B. Keating, Ph.D. <BR>
Liberal Arts Degree Program - School of Continuing Education <BR>
New York University <BR>

</BODY>
</HTML>


Step 2
Explanation: Adding Text

Now that we have our basic HTML template, it is time to add some content to our file. The important thing to remember when putting text in HTML documents is that browsers do not recognize carriage returns. You must use the paragraph <P> and break <BR> tags to insert paragraph and line breaks in your HTML file. When used within a block of text, the <P> tag will insert a blank line into the text block, separating it into two blocks of text, or paragraphs. The <BR> tag will simply force a line break in your text without inserting an extra blank line. Unlike the tags previously mentioned, the <P> and <BR> are empty tags and do not require ending tags. (Optionally, you may use </P> to end paragraphs. Some dedicated HTML editors add this closing tag automatically.)

One great aspect of HTML is the immediacy with which you can see the results of your work, and it is a good idea to do so frequently. To view an HTML file as you are constructing it, start up your Web browser, choose "Open File" from the File Menu and select the file from the directory in which you have saved it. (You do not need be connected to the Internet to view files locally.) Once you have loaded a file into your browser, you do not need to reopen it every time you make a change or addition. Simply save your HTML file, switch over to your browser and choose "Reload." Your latest changes will be viewable immediately. Most dedicated HMTL editors enable you to view your changes with even greater ease.

In addition to hard carriage returns, browsers also ignore multiple spaces within an HTML file--they are collapsed into a single space. For example, if the text within your HTML file contains indentation or other spaces, the browser will ignore this.

back view page