What is HTML?

HTML: part 1

HTML: part 2

HTML: part 3

Tables Introduction



  More...

 
 

Beginning HTML 3: Extended formatting and fonts

Lists:
There are three types of lists generated by html. The types are ordered list, unordered list, and definition list. The list types are:
 


    <ul>Unordered list start

     

  • <li>Unordered list item 1</li>
  • <li>Unordered list item 2</li>
  • <li>Unordered list item 3</li>
    Unordered list end</ul>

    <ol>Ordered list start

     

  1. <li>Ordered list item 1</li>
  2. <li>Ordered list item 2</li>
  3. <li>Ordered list item 3</li>
    Ordered list end</ol>

<dl>Definition list start

 

<dt>Definition list heading 1</dt>
<dd>Definition item 1</dd>
<dt>Definition list heading 2</dt>

Definition list end</dl>


 


Alignment:
There are four types of alignment that need to be addressed: Left, Center, Right and Justify. The following is how to do each of these:
 

<div align="left">This is left aligned text</div>



 

<div align="center">This is center aligned text</div>



 

<div align="right">This text is right aligned</div>



 

<div align="justify">This text is justify aligned, and is long to show what justify is. It stretches text so that it will fit the width of the medium.</div>


Extended formatting:
Nobody likes looking at boring plain text all day, so there are better ways to format text. Here are some ways:
 

<b>Bold text</b>
<i>Italicized text</i>
<u>Underlined text</u>
<s>Strikethrough text</s>
<tt>Teletype</tt>

<b><i><u><s><tt>This text has a lot of formatting!</tt></s></u></i></b>


Fonts:
There's a great amount you can do with fonts. You can change size or appearance, of course within boundaries. For font size, there is relative and absolute. Sizes are constructed as follows:

Click Here to view output of below code.

<font size="+3">Relative size +3</font>
<font size="+2">Relative size +2</font>
<font size="+1">Relative size +1</font>
Normal size
<font size="-1">Relative size -1</font>
<font size="-2">Relative size -2</font>
<font size="-3">Relative size -3</font>

<font size="7">Absolute size 7</font>
<font size="6">Absolute size 6</font>
<font size="5">Absolute size 5</font>
<font size="4">Absolute size 4</font>
<font size="3">Absolute size 3</font>
<font size="2">Absolute size 2</font>
<font size="1">Absolute size 1</font>

  Call 1-314-596-8750  First 15 minutes Free