HTML Hyper Text Markup Language: HTML Misc. TagsMiscellaneous Useful TagsOnce you have your page started there are other useful tags you can use to add a little variety. HeadingsThere are 6 heading sizes you can use. This is to have text displayed bigger than normal, like for the heading of a section of your page. Headings are coded as follows, with the largest first and getting smaller as we reach 6: H1, H2, H3, H4, H5, H6 The following Heading tag: HTML is fun.will result in HTML is fun.
PLEASE NOTE: The Header Tags will insert a blank line above AND below the Tag. To illustrate that here is a block of text with the Header tag added: Roses Are Red Violets Are BlueI Ran Out of Ideas Here
This will display in your browser as: Roses Are Red Violets Are BlueI Ran Out of Ideas HereThe text in the Header is bolded, and has those blank lines above and below. The easy way around this is to just use the Font Tag and assign a bigger size and then bold the text. Paragraphs and Line BreaksSo next you will want to write a paragraph. Text
will automatically wrap when it hits the edge of the screen, so you
don\'t have to force the text to wrap while writing a paragraph. If you
want to force a "Line Break" you can put in the "break" tag
. Both have the same effect. Example: Typing this code... so that I will be way down here. Will result in... so that I will be way down here. Note 1: Occasionally you may see , but it is not necessary, so don\'t bother. Please remember that the Line Breakand the Paragraph Break do not need to be "closed" (there
is no
Note 2: Browsers ignore white space in the code of a document. Therefore, you must use paragraph and line breaks or all your words will become one huge paragraph. Try it, you\'ll see. Horizontal RulesThe Horizontal Rule is a line that runs horizontally across your webpage. The Tag is a one-sided tag (like the If you enter the tag you will get a line all the way across your webpage, the same color as your browser\'s color. There are several Attributes you can use to modify your Horizontal Rule: WIDTH= Percentage Method: WIDTH="50%" This will give you a line exactly half the size of your page. This method is recommended since no matter what resolution the viewer is looking at your page in, the line will be 50% of the width of their screen. Absolute Method: WIDTH="300" This number is the width in PIXELS. This works well when you need to specify an exact size for your line. For example, if you want to have a line the same size as a graphic, you can specify the same width as the graphic. ALIGN= The correct Value\'s to use are "right", "left" and "center". SIZE= SIZE="20"
NOSHADE NOSHADE> As with most tags that use Attributes, you can combine all or some of the Attributes into one tag, like this: WIDTH="50%" ALIGN="Center" SIZE="20" NOSHADE> The above example would give you a line 50% the width of the page, sitting in the center, 20 pixels high, with no shading. HTML Lists: unordered, ordered and definition listsWith HTML you can also make nicely laid out lists. The can be indented, have bullets (dots) in front, or they can be automatically numbered. Every item in a list is tagged with
The Unordered ListAn Unordered List will have bullets in front. You open an Unordered List with
Here is the code and results of an Unordered List:
Unordered List: defining \'bullet\' typesWe can use the TYPE= attribute to define how we want the Unordered bullets to look:TYPE="DISC"
So, if you want ALL of your recipe items to have SQUARE \'bullets\' just add the TYPE= attribute, like this, to your
The really cool part about this TYPE= attribute is that you can also specify the type of \'bullet\' you want EACH individual List item to have, by including the TYPE= attribute right in the
The Ordered ListAn Ordered List will have numbers in front. You open an Ordered List with
Here is the code and results of an Ordered List:
Ordered Lists: defining number typesThe Ordered List tag has several attributes that work exactly the same way as the Unordered List tag attributes we discussed above: TYPE="A"
(Upper Case Letters... ie, A,B,C etc.)
and close it with.
Here is an example: This sentence is not between the blockquote tags. This paragraph is between the blockquote tags and you will notice that it is indented over. The whole paragraph is indented over until you close the blockquote. It\'s a pretty handy command actually.Now I\'m out of the blockquote again. Preformatted TextThe text between the and thetags will be displayed exactly as it looks on your HTML editor page. It will be displayed with a "fixed-width" font.
Will be displayed as: Hello everyone! |