Welcome to the world of HTML. This is the first paragraph. While short it is still a paragraph!
tag. Important: You must indicate paragraphs with
elements. A browser ignores any indentations or blank lines in the source text. Without
elements, the document becomes one large paragraph. (One exception is text tagged as "preformatted," which is explained below.) For example, the following would produce identical output as the first bare-bones HTML example:
And this is the second paragraph.
tags). These extra spaces will help you when you edit your files (but your browser will ignore the extra spaces because it has its own set of rules on spacing that do not depend on the spaces you put in your source file). NOTE: The
tag, it means that the previous paragraph has ended. However, since HTML now allows certain attributes to be assigned to the
tag, it's generally a good idea to include it. Using the
and
This is a centered paragraph. [See the formatted version below.]
paragraph tags. Numbered Lists A numbered list (also called an ordered list, from which the tag name derives) is identical to an unnumbered list, except it uses
paragraph tags), lists, or other definition information. The COMPACT attribute can be used routinely in case your definition terms are very short. If, for example, you are showing some computer options, the options may fit on the same line as the start of the definition.
tag (which stands for "preformatted") to generate text in a fixed-width font. This tag also makes spaces, new lines, and tabs significant -- multiple spaces are displayed as multiple spaces, and lines break in the same locations as in the source HTML file. This is useful for program listings, among other things. For example, the following lines: #!/bin/csh cd $SCR cfs get mysrc.f:mycfsdir/mysrc.f cfs get myinfile:mycfsdir/myinfile fc -02 -o mya.out mysrc.f mya.out cfs save myoutfile:mycfsdir/myoutfile rm * display as: #!/bin/csh cd $SCR cfs get mysrc.f:mycfsdir/mysrc.f cfs get myinfile:mycfsdir/myinfile fc -02 -o mya.out mysrc.f mya.out cfs save myoutfile:mycfsdir/myoutfile rm * The tag can be used with an optional WIDTH attribute that specifies the maximum number of characters for a line. WIDTH also signals your browser to choose an appropriate font and indentation for the text. Hyperlinks can be used within sections. You should avoid using other HTML tags within sections, however. Note that because <, >, and & have special meanings in HTML, you must use their escape sequences (<, >, and &, respectively) to enter these characters. See the section Escape Sequences for more information. Extended Quotations Use the tag to include lengthy quotations in a separate block on the screen. Most browsers generally change the margins for the quotation to separate it from surrounding text. In the example: Omit needless words. Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. --William Strunk, Jr., 1918 the result is: Omit needless words. Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. --William Strunk, Jr., 1918 Forced Line Breaks/Postal Addresses The tag forces a line break with no extra (white) space between lines. Using elements for short lines of text such as postal addresses results in unwanted additional white space. For example, with : National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 The output is: National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 Horizontal Rules The tag produces a horizontal line the width of the browser window. A horizontal rule is useful to separate major sections of your document. You can vary a rule's size (thickness) and width (the percentage of the window covered by the rule). Experiment with the settings until you are satisfied with the presentation. For example: displays as: --------------------------------------------------------------------------------
#!/bin/csh cd $SCR cfs get mysrc.f:mycfsdir/mysrc.f cfs get myinfile:mycfsdir/myinfile fc -02 -o mya.out mysrc.f mya.out cfs save myoutfile:mycfsdir/myoutfile rm *
tag can be used with an optional WIDTH attribute that specifies the maximum number of characters for a line. WIDTH also signals your browser to choose an appropriate font and indentation for the text. Hyperlinks can be used within sections. You should avoid using other HTML tags within sections, however. Note that because <, >, and & have special meanings in HTML, you must use their escape sequences (<, >, and &, respectively) to enter these characters. See the section Escape Sequences for more information. Extended Quotations Use the tag to include lengthy quotations in a separate block on the screen. Most browsers generally change the margins for the quotation to separate it from surrounding text. In the example: Omit needless words. Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. --William Strunk, Jr., 1918 the result is: Omit needless words. Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. --William Strunk, Jr., 1918 Forced Line Breaks/Postal Addresses The tag forces a line break with no extra (white) space between lines. Using elements for short lines of text such as postal addresses results in unwanted additional white space. For example, with : National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 The output is: National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 Horizontal Rules The tag produces a horizontal line the width of the browser window. A horizontal rule is useful to separate major sections of your document. You can vary a rule's size (thickness) and width (the percentage of the window covered by the rule). Experiment with the settings until you are satisfied with the presentation. For example: displays as: --------------------------------------------------------------------------------
sections. You should avoid using other HTML tags within sections, however. Note that because <, >, and & have special meanings in HTML, you must use their escape sequences (<, >, and &, respectively) to enter these characters. See the section Escape Sequences for more information. Extended Quotations Use the tag to include lengthy quotations in a separate block on the screen. Most browsers generally change the margins for the quotation to separate it from surrounding text. In the example: Omit needless words. Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. --William Strunk, Jr., 1918 the result is: Omit needless words. Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. --William Strunk, Jr., 1918 Forced Line Breaks/Postal Addresses The tag forces a line break with no extra (white) space between lines. Using elements for short lines of text such as postal addresses results in unwanted additional white space. For example, with : National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 The output is: National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 Horizontal Rules The tag produces a horizontal line the width of the browser window. A horizontal rule is useful to separate major sections of your document. You can vary a rule's size (thickness) and width (the percentage of the window covered by the rule). Experiment with the settings until you are satisfied with the presentation. For example: displays as: --------------------------------------------------------------------------------
sections, however. Note that because <, >, and & have special meanings in HTML, you must use their escape sequences (<, >, and &, respectively) to enter these characters. See the section Escape Sequences for more information. Extended Quotations Use the tag to include lengthy quotations in a separate block on the screen. Most browsers generally change the margins for the quotation to separate it from surrounding text. In the example: Omit needless words. Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. --William Strunk, Jr., 1918 the result is: Omit needless words. Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. --William Strunk, Jr., 1918 Forced Line Breaks/Postal Addresses The tag forces a line break with no extra (white) space between lines. Using elements for short lines of text such as postal addresses results in unwanted additional white space. For example, with : National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 The output is: National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 Horizontal Rules The tag produces a horizontal line the width of the browser window. A horizontal rule is useful to separate major sections of your document. You can vary a rule's size (thickness) and width (the percentage of the window covered by the rule). Experiment with the settings until you are satisfied with the presentation. For example: displays as: --------------------------------------------------------------------------------
tag to include lengthy quotations in a separate block on the screen. Most browsers generally change the margins for the quotation to separate it from surrounding text. In the example: Omit needless words. Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. --William Strunk, Jr., 1918 the result is: Omit needless words. Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. --William Strunk, Jr., 1918 Forced Line Breaks/Postal Addresses The tag forces a line break with no extra (white) space between lines. Using elements for short lines of text such as postal addresses results in unwanted additional white space. For example, with : National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 The output is: National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 Horizontal Rules The tag produces a horizontal line the width of the browser window. A horizontal rule is useful to separate major sections of your document. You can vary a rule's size (thickness) and width (the percentage of the window covered by the rule). Experiment with the settings until you are satisfied with the presentation. For example: displays as: --------------------------------------------------------------------------------
Omit needless words.
Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. --William Strunk, Jr., 1918
Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts.
--William Strunk, Jr., 1918
elements for short lines of text such as postal addresses results in unwanted additional white space. For example, with : National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 The output is: National Center for Supercomputing Applications 605 East Springfield Avenue Champaign, Illinois 61820-5518 Horizontal Rules The