Tips for turning text into html:

If you're unfamiliar with writing html code, it may seem scary, but it's actually very easy. That's why so many people seem to know how to do it. The code we will be writing will be very simple, and most of it can be written almost mechanically. Just follow these instructions in this sequence. Please note, html is case sensitive, so follow the case carefully.

A. Open the text that you intend to transform into html. Save it as TEXT under a different name. Make sure that all letters are lower case.
E.g. You have a file called "Sideling.doc". Save it in text format as "sideling.txt".

(Right now, don't save these with an html tag. Applications like Word 98 and Word 2000 perform some BAAAD juju on html files if you let them know that that's what they're dealing with.)

B. Returns: Locate all single returns (^p) and replace them with:
<BR>^p

C. Paragraph breaks: Locate all double returns (by now they look like this: <><BR><>^p<BR>^p) and replace with:
<P>^p^p

D. Header: Paste this text in at the front of the document:

<HTML>
<HEAD>
<TITLE>Home</TITLE>
</HEAD>
<BODY BGCOLOR="white">

E. Footer: Paste this text in at the end of the document:

</BODY>
</HTML>

At this point, you ought to be able to view the file in Netscape or internet explorer. I generally work by switching between Word 5.1, where I modify the text file, and Netscape, where I look at the web page.

F. Title: Put <H2><B> and </H2></B> immediately in front of and behind the title.

F. Author and date: Put <B> and </B> immediately in front of and behind the the list of authors and the date.

So, it you've done this to the text format presented above:

Title

by [Your name]
[Date completed]

Body of text

You should have gotten:

<HTML>
<HEAD>
<TITLE>Home</TITLE>
</HEAD>
<BODY BGCOLOR="white">

<H2><B>Title</H2></B><P>

<B>by [Author]<BR>
[Author]<BR>
[Author]<BR>
[Author]<BR>
[Date completed]</B><P>

Body of text<BR>
</BODY>
</HTML>


G. Boldface: If you want to boldface anything, but <B> in front of it and </B> in back. E.g. <B>This is in boldface</B>, and this is not.

H. Italics: Italics work the same way only the commands are <I> and </I>. E.g.: Scientific names such as <I>Homo sapiens</I> are written in italics.

I. Bullets: To make bullets (

  • ) use <LI>.


    K. Links to other web sites: To link to another web site, we designate a piece of text the the user will click on in order to link. For example, the home page of the ELT site has a link to my personal web site. One links by clicking on my name. Here are the commands that make it happen:

    <A HREF="http://www.wam.umd.edu/~jmerck/mercksite" TARGET="_top">Dr. John W. Merck, Jr.</A>

    Note: there are really two commands, one before and one after my name. The url of my site goes in the quotes. Note also that linking in this way takes the user out of ELT's frames.

    L. Links within the ELT web site: This is similar, but the syntax is slightly different. Where the ELT site links to the reading "Landmarks in the Discovery of Geological Time" it looks like this.

    <A HREF="reading/eltgt.html"><I>Landmarks in the Discovery of Geological Time</I></A>

    M. Embedding an image: The commands for this look a little like the link commands. To paste in a picture called "tillsonbear.jpg" for instance, we would write:

    <IMG SRC="tillsonbear.jpg">


    What fun!

    Of course, there's a lot of other stuff we could do in html, but for now, let's just try to implement these commands and get the text showing up nicely in Netscape or Internet Explorer.

  • Download an RTF file of this text.