|
|
||
|
Whilst
it is obvious what headings are used for, they are important in the WWW
environment because some search engines use them as a search parameter
|
||
| <H1> |
Heading 1 |
</H1> |
| <H2> |
Heading 2 |
</H2> |
| <H3> |
Heading 3 |
</H3> |
| <H4> |
Heading 4 |
</H4> |
| <H5> |
Heading 5 |
</H5> |
| <H6> |
Heading 6 |
</H6> |
|
Structural Styles |
||
| <B> |
|
</B> |
| <I> |
|
</I> |
| <U> |
|
</U> |
| <S> |
|
</S> |
| <TT> |
|
</TT> |
| <EM> |
|
</EM> |
| <STRONG> |
|
</STRONG> |
| <BLINK> |
|
</BLINK> |
| <CODE> |
Code
|
</CODE> |
| <VAR> |
|
</VAR> |
| <SAMP> |
|
</SAMP> |
| <KBD> |
|
</KBD> |
| <CITE> |
|
</CITE> |
| <DFN> |
|
</DFN> |
|
Defined Styles |
||
|
|
||
|
If you want to display you body copy is a font face other than the default (Times New Roman) you are limited by those which the user has on their own computer. For this reason, we generally nominate a list of fonts in descending order of desirability (see above). If the first font you nominate is not on the user's computer, the browser will look for the second and so on.
The default font size is '3', but the actual 'X' height is relative to the font face. e.g.:
You change the font size either absolutely by specifying a number between 1 and 7 or relative to that which the user has defined as their browser's default size (shortsighted people, for example, often specify a larger default font size) by +1 - +7 or -1 - -7 |
||
| size 1 | size 2 | size 3 | size 4 | size 5 | size 6 | size 7 |
| size +1 | size +2 | size +3 | size +4 | size +5 | size +6 | size +7 |
| size -1 | size - 2 | size -3 | size -4 | size -5 | size -6 | size -7 |
|
Block text tags |
||||||||||||||||||||
|
Paragraph breaks: like<P> this Line Breaks:
like <BR> <P
align="right" >You
can use the <P> tag to right
and left justify but you must then close the tag at the end of the text
you want aligned. |
||||||||||||||||||||
|
||||||||||||||||||||
|
|
||||||||||||||||||||
|
Types of lists
UL unordered lists The previous list, for example, is an unordered list, created with the UL element. You can affect the look of your unordered list by specifying the type of bullet: <UL>
</UL>. Numbered or ordered lists An ordered list, created using the OL element, should contain information where order should be emphasized, as in a recipe or a list of reasons in descending order of importance: e.g. Reasons for hard coding HTML <OL>
</OL> Ordered list can be customised using the type attribute:
You can specify the starting value of your list E.G <OL START="17" > and/or the specific value of any list item: e.g <LI VALUE="35" > <OL START="10" >
</OL> Definition lists
|
||||||||||||||||||||
|
||||||||||||||||||||