An introduction to HTML for MiceLife Users
Headings
HTML has six levels of headings, numbered 1 through 6, with 1 being the most prominent. Headings are displayed in larger and/or bolder fonts than normal body text. The first heading in each document should be tagged <H1>. The syntax of the heading tag is:
<Hy>Text of heading </Hy >
where y is a number between 1 and 6 specifying the level of the heading.
For example, the coding for the “Headings” section heading above is
<H3>Headings</H3>
Paragraphs
Unlike documents in most word processors, carriage returns in HTML files aren’t significant. Word wrapping can occur at any point in your source file, and multiple spaces are collapsed into a single space. A Web browser ignores this line break and starts a new paragraph only when it reaches a <P> tag. Mark the end of a paragraph with </P>.
This example code
<P>Example paragraph text.
Notice how the line breaks are ignored.</P>
Will look like this:
Example paragraph text. Notice how the line breaks are ignored.
Linking to Other Websites
The chief power of HTML comes from its ability to link regions of text to another article or website. The browser highlights these regions (usually with color and/or underlines) to indicate that they are hypertext links (often shortened to hyperlinks or simply links).
HTML’s single hypertext-related tag is <A>, which stands for anchor. To include an anchor in your document:
1. Start the anchor with <A . (There’s a space after the A.)
2. Specify the document that’s being pointed to by entering the parameter HREF=”website” followed by a closing right angle bracket: >
3. Enter the text that will serve as the hypertext link in the current document.
4. Enter the ending anchor tag: </A>.
Here is an sample hypertext reference:
<A HREF=”http://Poosk.com”>Strange T-Shirts</A>
This entry makes the words “Strange T-shirts” a hyperlink to the document to the Poosk.com website like this: Strange T-Shirts.
Decoration
You can make text appear in italics or bold using the <EM> and <Strong> tags like this:
<em>italics</em> or <strong>bold</strong>
For more help and advice on HTML check the book HTML: A Beginner’s Guide