![]() |
Hand-Code Simple HTML |
Why use HTML in WebTycho?Hypertext Markup Language (HTML) is a means to present content in WebTycho text boxes so that is attractive, authoritative, and easily reusable (copyable). Hand-coding HTML is an efficient way to format short text entries for conferences, assignment comments, and announcements. In the Announcement area, you can combine pasted HTML for long announcements and hand-coded HTML for short ones. What kind of formatting do you want to apply?
Before you start
|
|
Paragraphing / alignment Note: Paragraphing codes do NOT require closing tags. Hard returnThe <br> "line break" code creates a hard return at the insertion
point<BR> Paragraph followed by line space<P>Typing the <p> tag at the beginning of a paragraph creates a unified paragraph of text followed by a hard return and blank line. It is helpful to add this tag to remove hard breaks that may appear in the middle of your plain text paragraphs.
Basic paragraph plus left/right justification (closing tags not needed) You may add left or right alignment commands to the <P> tag. Note in the tags below the single space after the "p" and the quotation marks around the left/right designations. <p align="left">Left-justification is the default alignment for HTML text; however, if necessary, you may define left-aligment using the <P ALIGN="LEFT"> code. <p align="right">Use the <P ALIGN="RIGHT"> code to right-justify paragraphs. Center (requires closing tag)
Indent (requires closing tag) <blockquote>Enclose text to be indented inside the <BLOCKQUOTE> tag-pair. This indents both the left and right margins approximately half an inch. </blockquote> becomes
|
| Text appearance
Bold Italics Underline Font face <font face="Times New Roman">font
face changes to Times New Roman </font> Font size <font size="-1">font size becomes
smaller than the default</font> Font color becomes Here is how to change the font color to red. (likewise, blue, green, etc.) See http://developer.netscape.com/docs/manuals/htmlguid/colortab.htm for
a color chart in words.* *Professional webpage designers use hexidecimal coding and "websafe" colors that are universally recognized by all browsers. Still, amateur designers have generally good results using basic color words in HTML font codes. You can combine font formatting either
by typing separate tags, then closing each one: |
Bulleted
(unordered) or numbered (ordered) lists
|
|
Active
("hot") links
The basic format for inserting links is <A HREF="URL">link text</A>. Make the URL the active link (preferable for documents that are likely to be printed, so that the URL is visible) I found interesting
information at <A HREF="http://www.cnn.com">http://www.cnn.com</A>. Make the site name or another word the active link and hide the actual URL (may be preferable if the URL's visibility in print is not an issue, or if the URL is very long) I found interesting
information at the <A HREF="http://www.cnn.com">CNN homepage</A> Look <a href ="http://devedge.netscape.com/library/manuals/1998/htmlguide/alphlist.html">here
</a> for an alphabetical list of HTML
tags
Make an email address a link that opens a preaddressed email window
Email your questions
to <a href="mailto:pjohnson@umuc.edu">pjohnson@umuc.edu</a> |
|
Embedded .jpg or .gif image files An image file must first be in digital form (.jpg or .gif) and "published" (uploaded or submitted) to a Web server such as WebTycho, Polaris, Europa, or GeoCities. Then you may link to the URL of the published image in this format: <IMG SRC="URL">. For example, <center><img
src="http://polaris.umuc.edu/~pjohnso5/grad999/help/pathway1.jpg"></center>
|
|
Special
characters ("HTML entities")
Many frequently used characters and symbols are not part of the standard "ASCII" character set and thus are not recognized in an HTML environment. There are, however, "HTML entities" ("escape sequences" or "decimal references") that will reproduce those symbols. Type the appropriate code, without brackets, in the location where you want the symbol to appear. Here are some examples (the semicolon is part of the code):
See the Advanced
HTML page of the World Wide Web (W3)
Consortium HTML Tutorial |
| Troubleshooting
If any part of the HTML doesn't work after you submit in WebTycho, reopen the text box in edit mode and check that
|
|