Monday, August 6, 2007

HTML Quick-guide.

Formatting

Code
Sample
Description
<>text< /b>
text
bold
<>text< /i>
text
italics
<>text< /u>
text
underline
<>text< /sub>
text
Lowers text and makes it smaller
<>text< /sup>
text
Raises text and makes it smaller
<>text< /blink>
text
makes text blink. .
<>text< /strike>
text
Strike out
<>text< /tt>
text
typewriter font










Size

Code
Sample
Description
<>text< /big>
text
increase size
<>text< /small>
text
decrease size
<>text< /h1>

text

bigger
<>text< /h6>
text
smaller
< size="1">text< /font>
text
writes text in smallest font size.
< size="7">text< /font>
text
writes text in biggest font size


Layout

Code


Description





<>text< /p>


Adds paragraph break after the text.






< align="left">text< /p>


Aligns paragraph to left






< align="center">text< /p>


Aligns paragraph to center






< align="right">text< /p>


Aligns paragraph to right






text<>


Adds a line break





<>text< /nobr>


Turns off automatic line breaks
















Listing

Code
Description
<>
<>text< /li>
<>text< /li>
<>text< /li>
< /ul>
  • text
  • text
  • text
< class="style1">type="disc" >
  • This is one line
  • This is another line
  • And this is the final line
< class="style1">type="circle" >Starts a list using circles.
  • This is one line
  • This is another line
  • And this is the final line
< class="style1">type="square" >
  • This is one line
  • This is another line
  • And this is the final line

No comments: