15
HTML Primer February 07, 2002

HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Embed Size (px)

Citation preview

Page 1: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

HTML Primer

February 07, 2002

Page 2: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

The Long Essay

Long Essay (25% - Due March 14th-21st)• A 12-15 page (double-spaced) research paper on a topic

within the field that interests you. Citations, Bibliography, the whole bit.

• It can expand upon or be an extension of ideas brought up in your Short Essay.

• Submitted in HTML format, using an appropriate layout of your own design.

Page 3: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Formatting your Essay

Be sure to complete your essay prior to translating or formatting it in HTML. This will save you a huge amount of time and effort.You may use any HTML editor you are comfortable with, or you may hand-code, whichever you prefer.Consider the reader when you are designing your formatting. Just as you had with your rural library website, you will want to make your essay accessible and easily navigable.

Page 4: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Multiple Pages

Do not fall into the trap of making your 12-15 page essay one long, huge scrolling epic! Instead, plan on creating a series of HTML pages that will contain your text.You will, therefore, need to consider just how much text to put on a single page and how to move between the pages themselves. You may use any navigation scheme that you deem ‘user-friendly.’

Page 5: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Navigation

The navigation used in your paper need not be any more elaborate than the navigation created during your rural library lab experience. Simply keep in mind that, your navigation should be:– Obvious—both in terms of its location on every page,

its look, and what content/page it points to– Highly accessible– Meaningful—people should not have to guess where

the link will take them.

Page 6: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Formatting Pages

Format each HTML page so that the content will be visible (i.e., nothing spreading off the screen, either horizontally or vertically) at a monitor resolution of 800 x 600 pixels.You may need to alter your monitor’s preferences to ensure this, or, using an HTML editor, you might want to limit your HTML page to a size under 800 x 600 pixels (e.g., 720 x 480).

Page 7: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Text Formatting

You may format the text as you see fit, including the use of:– Headers– Common text formats (e.g., bold, italics, etc.)– Fonts of your choice– Images, if desired or required

Remember to keep the content readable. Emphasize ease of use rather than complexity of presentation.

Page 8: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Citations

In terms of citations or notation, a standard used in almost every electronic journal is the use of HTML anchors to create links from the point in the text to a page of citations.Your citations can be formatted to any acknowledge bibliographic style (e.g., MLA, APA, Chicago, etc.)The remainder of class will be spent on getting you up to speed with using anchors and citations. For those of you who already have ample experience with using anchors, you are free to go.

Page 9: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Anchors 101

If you are familiar with using links, then you already know the basics for using anchors.Anchors are simply textual markers that you place in your HTML text to delineate where a link should jump to.The first step in creating an anchor, then is creating that textual marker.

Page 10: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Anchors… cont’d

To create markers in HTML, we use the anchor tag <A> with the attribute NAME=“yourmarker”.– e.g. <A NAME=“cit1”>

Place this HTML tag before the content you want to jump to (i.e., your citation), as in:– e.g. <BODY>

<A NAME=“cit1”> Barker, Bob. The price is right.

Anchors do NOT use closing tags (e.g., </A>)

Page 11: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Anchors… cont’d

In this fashion, for every citation, you will want to create an anchor, placed just before it in your HTML code.Now, in the body of your text, you want to create a link (for each citation) that will jump directly to that anchor. You do this using the same <A HREF> tag that you would use for any link… with one important distinction.

Page 12: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Anchor Example

Main Page:…Madeira states that this accusation is false, however.<A HREF=“citation.html#cit2”>1</A> …

Jumps to citation.html:<A NAME=“cit1”><P>Barker, Bob. <I>The Price is Right.</I> New York: Nelson, 1998. 32</P><A NAME=“cit2”><P>Madeira, Anne. <I>$25,000 Pyramid</I> Toronto: Wiley, 2001. 45</P>

Page 13: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Anchor Summary

Use the <A NAME> tag to define your anchors.Always put the anchor just before the text you want your browser to jump to.– <A NAME=“example”> Text…

Use the normal <A HREF> tag to link to the NAME by adding a # after the file name and then adding the anchor name.– <A HREF=“citation.html#example”>2</A>

Page 14: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Anchors… cont’d

Your <A HREF=“citation.html”> tag will take you to the right page, but you need to specify the anchor you want to jump to.To do this, you add a hash mark (#) and the textual marker, or name, that you made up.– For example, <A HREF=“citation.html#cit1”>– This will both take us to the right page and to the

right citation.

Page 15: HTML Primer February 07, 2002. The Long Essay Long Essay (25% - Due March 14 th -21 st ) A 12-15 page (double-spaced) research paper on a topic within

Next Class

When we return to classes, we will look at creating entities in XML, using empty elements, and incorporating other media (images, etc.)