by Dr. Richard Glass
Dept MAT/STA/CMP
Nassau Community College
If you have been wondering about HyperText Markup Language (HTML) and how they make all those fancy pages, well I hope to answer (or at least dispell) some of the myth or curiosities about HTML and creating web pages.
A Beginner's Guide to HTML
(http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html)
Along with talking about some of the Web development tools Including HTML editors) and possibly where to obtain them (Links to other references and software.)
The first myth I would like to dispell is that HTML is not word processing. As it turns out, word processing requires considerable more thought than HTML. When I am using a word processor I start worrying about margins, page breaks, fonts (so many fonts, so little disk space), tab settings, etc. In HTML, there is none of that.
For example, this paragraph contains an apparent HTML tag called <JUNK>. Here it is enclosed in plus signs, +Rather HTML is a throwback to the early word processors (aka text processors). Those programs required the author to place particular characters in their document to perform the markup and style. Until you gave a particular command (such as a print command) you never saw the final product. As the technology advanced, the text processors evolved into what is called word processors and the word WYSIWYG (What You See Is What You Get) was born. WYSIWYG gave instant gratification to the author because the markup (and style) appeared right before your eyes and that was the way it appeared as the final product.+. Want to see it again?
A very good current example of this idea is the Word Perfect word processor. Word Perfect requires the user to understand the idea of "hidden codes". These hidden codes (hidden because you need to 'Reveal codes' in order to see them) define the style. Another analogy is that of TeX or LaTex. These are typesetting programs that allow an author to create the fancy mathematical and scientific characters. In fact, HTML is closer to the latter rather than the former because the 'hidden codes' (referred to as Tags in HTML) are not hidden, they are in plain sight of the author. In fact, by now you know HTML tags are enclosed in <>. One question you may have is how do I get the <> to appear without having the browser interpret them as HTML? The answer is, it uses another tag style. (see A Beginner's Guide to HTML
The number of elements of HTML you actually need to use in a large number of documents is quite small. The tags are in two forms, containers which have a start and an end tag along with non-containers. The ending container will be just like the starting one except it will have a slash "/" in it. (example: For italics, the text is enclosed in <I> and </I>)
You will need to know about:
What is nice about HTML and web browsers is that there is nothing proprietary in viewing the HTML for the document. You the reader are free to see the HTML tags used by the author. All browsers allow you to view the source, the actual terminology may vary from browser to browser but I assure you, that option is there.
If you are using Netscape, go to VIEW choose SOURCE. You will now see in all detail the HTML tags I used in this document.
If you are in a windows enviornment try these little exercises. Pull the window tighter in width (say from the right). Notice that the text you are viewing now has automatically been wrapped. There should be no scroll bars at the bottom of the screen (unless of course, you pulled it too tight). You cannot control where words will appear or what will happen to sentences. If it is a paragraph <P> to you, use the <P> and let the browser decide if <P> means "skip line, flush text left" or "newline, indent text".
HTML does allow some style. You can define document colors (text, background or use of a background image) but that also can be overridden by your browser.
For example, you might not be too thrilled about the colors I have chosen for this document. If you are using Netscape it is very easy to change (as with all browsers - I just don't know where to direct you).
If you are using Netscape, go to Options, General Preferences, Colors. Click the custom color box and pick a color - maybe a nice pink, now check the box marked ALWAYS USE MY COLORS, followed by OK). Don't forget to go back and uncheck the box saying ALWAYS USE MY COLORS.
If you noticed that under the General Preferences Option, you can also change the font and the font size try looking at this document with a KIDS, RANSOM or some other silly font). I use a 17" monitor at home so I have my font size set alittle larger than most. On the other hand, if you have a small monitor and are tired of viewing just a few words on a page, set your font size to be smaller.
The colors, text font and/or size is an important and critical option for those who are afflicted with various types of visual impairment. I have known several students who required terminals with large, black lettering on a bright yellow background.
Remember, text size, colors (text and background) can be defaulted to always be a certain STYLE defined by the browser. Anything you see is because your browser is configured that way. Any user anywhere can override the style of the author. In fact, I have heard rumors that there exists information on how to change the effect HTML tags such as the <P> and <I>.