Last updated: 05/09/2012

Home  | 2012 Award/Scholarship Winners  |  Chalice Lighters Call  |  Calendar  |  Contact Us

 

 

 

 

 

How to Format Files for the Web

 
As the Metro District adds more content to our web site, and as more people begin submitting text for placing on the web, it will greatly speed things up and reduce the work load for "us web volunteers" if you keep certain formatting rules in mind as you work.

Of course, submitting your pages in web-ready form -- that is, fully formatted and ready to be placed directly on the Web -- is most preferred. However, if you don't know HTML formatting codes or you don't have a web page editing program, things can still be submitted.

 

Intro

 
In order to put something on the web, it is necessary for it to be in text only format. Web pages are text only (ASCII) files. The pictures and animated graphics that appear in the page are separate files which must be placed in the same web directory with the pages themselves.

Even though I just said web pages are text-only, they also include a variety of simple codes that appear inside angle-brackets (< >). These are HyperText Mark-up Language codes, or HTML. These codes do not appear on the screen in a web browser, but they tell the browser how to display headers, text, paragraphs, backgrounds, tables, etc. Volunteers have to add these commands to format a document for the web.

To add HTML commands, the original text document can be edited with a variety of web-formatting programs, or the editing can be done manually. Using the "find and replace" command available in most word processors can greatly speed up this task.

 

Text

 

For files or information submitted to the District site, text should be standard ASCII text, using as few special fonts or symbols as possible. Dingbats, special symbols, and foreign characters seldom come through properly when saving a formatted word processor file in text-only format.

Tab characters are actually a good thing. They won't be in the final web document, but can help editors use "find-and-replace" commands to automate the process of paragraph formatting. Also, multiple spaces are ignored, and come through as a single space in HTML format. The most important thing is consistency -- use the same paragraph formatting all the way through the document.

Continuous, non-wrapped paragraphs (i.e., paragraphs without a line break at the end of each line) are also preferred; if the text contains return/paragraph characters only where you want paragraphs to end, this also helps facilitate "find and replace" editing of the text into web-ready form.

Quotation marks and apostrophes should be simple ASCII text, not "curly-quotes." Curly-quotes do not show up properly in most web browsers, and such characters have to be sought out and edited one by one before a page is ready for posting on the web.

Long dashes (em-dashes) also do not translate properly; use two regular hyphens instead. In some word processors, optional hyphens which appear only when needed will also turn into undesired regular hyphens when saved in ASCII text format.

If you use the special character for three dots, they may be lost; it is better to use three actual periods instead. If you use ampersands (&), per cent symbols, copyright or other symbols (i.e., any symbol typed with the CONTROL, ALT or OPTION key held down), please let the person to whom you are submitting the information know this in advance. The same goes for symbols that are made using the regular keys but are in a special font such as symbol or dingbats fonts (which should not be in a plain ASCII text file to begin with, of course).

Taking care of such formatting issues before submitting your document can save hours of volunteer time. And another benefit of saving your information in text-only (ASCII) format is that you can copy it all and paste it right into an e-mail message rather than sending it as a file attachment!

 

Graphics

 
Graphics must be in GIF or JPEG format in order to be used in web pages. GIF format is better for things like buttons, borders, and solid color graphic arts, whereas JPEG format (DOS file extension .jpg) is best for blended colors and photographs. You will need the proper software to save your graphics in GIF or JPEG format.

To submit graphics for inclusion in web documents, either submit the graphics along with the text as separate files or e-mail attachments, or send high-quality pictures to be scanned.

To send graphics by e-mail, they must be sent as encoded binaries (MIME, uuencoded or binhex formats). Since internet e-mail is by definition ASCII text, binary (non-text) files must be encoded in ASCII format in order to be sent as e-mail attachments. It is likely that your e-mail program will do this automatically, but sometimes you need to set the preferred options for handling attachments in your mail program's Preferences or Options menu.

Before sending graphics or any other large attachments by e-mail, make sure you have pre-warned the recipient and asked their permission to send the file.

 

Simple HTML Codes

 
Finally, to make it even easier for your text to be turned into web page content, you can add a few simple HTML commands in advance. By formatting your own titles, bold face, and italics (for example), you will help insure that such formatting won't be lost when your file is turned into plain ASCII text.

For example, if you want to format titles or text, add the appropriate format commands, as shown in the following table.

Code ExampleResult
<B>This is bold</B>This is bold
<I>This is italic</I>This is italic
<H1>Header size 1</H1>

Header size 1

<H2>This is header size 2</H2>

This is header size 2

<H3>This is header size 3</H3>

This is header size 3

<H4>This is header size 4</H4>

This is header size 4

Also, if you want to put in a divider to specify a definite break in the text, type "<HR>", which will place a "horizontal rule" to clearly separate the paragraphs. This is a horizontal rule:

To center a block of text, type <CENTER> before the text and </CENTER> after it.

To indent a block of text, type <BLOCKQUOTE> before the text and </BLOCKQUOTE> after it.

 
This is only the beginning, but it will get you started, and web site volunteers will be very grateful to you for making our job a little easier. Good luck!
 

Guided by our living faith, the Unitarian Universalist District of Metropolitan New York exists to be a source of connection and transformation for our congregations and our larger world.