|
September 15, 2002
Plan It. Design It. Build It. Put Your Web Site To Work (cont'd)
Four Must-Know HTML Codes
Often, Web forms will accept HTML codes so that the text can be formatted in a variety of ways. Here are four HTML codes that all educators should know.
Two Rules of Thumb
HTML tags reside inside of angle brackets (< >). If there were a tag called sing, then it would be typed as "<sing>".
Most HTML tags consist of a beginning tag, that says, "start doing something here," and an ending tag that says, "stop doing it here." <sing>Mary Had a Little Lamb</sing>. The ending tag is identical to the beginning tag, except that it has a forward slash.
Bold To accent text. The tag for bold is <b>. To make the word Shakespeare's bold in the following sentence, the code would be:
For homework, read the first act of <b>Shakespeare's</b> Romeo and Juliet.
Indent To draw attention to a paragraph. The tag for indenting is <blockquote>. This tag will cause wider margins on both sides of a paragraph.
<blockquotebWhile reading Romeo and Juliet, pay particular attention to the nature of the family in Renaissance times and its importance related to prestige.</blockquote>
Text Size There are two tags for text size: <big> and <small>. To make the word big larger and the word small smaller in the following text, the code would be:
One might say that Romeo and Juliet had <big>big</big> hearts in a <small>small</small> world.
Hyperlink To link to another document from your text. The tag for hyperlinking is <a>. The a stands for Anchor. However, you have to add some additional information to identify your document.
You may go to <a href="http://the-tech.mit.edu/Shakespeare/">Romeo and Juliet</a> on MIT's Complete Works of William Shakespeare Web site to read the play online.
Notice the additional attribute: href="http://the-tech.mit.edu/Shakespeare/"
< < < Return to previous page
Read other articles from the September Issue
Send a letter to the Editor in response to this article.
|