Rabu, 28 Oktober 2009

HTML Tutorial -Part 4-



HTML TUTORIAL


Part 4: A little more tags


The CENTER tag...


The center tag pretty much explains itself. The opening center tag is <center> and the closing center tag is </center>. Whatever you put between will be centered on the current line!


Example of CENTER tag...


Center Works



<center><h1>Center Works</h1></center>





The BODY attributes...


In Part 1 you learned the BODY tag. The BODY tag has many attributes... here are a the most useful ones...

  • BACKGROUND="location_of_image" - Background Image

  • BGCOLOR="#hexadecimal_here" - Background Colour

  • LINK="#hexadecimal_here" - Colour of Links

  • VLINK="#hexadecimal_here" - Colour of Links the User has Already Visited

  • TEXT="#hexadecimal_here" - Text Colour




Example of Hexadecimal


#RedRedGreenGreenBlueBlue


#RRGGBB


#RGB


#000000 goes to BLACK


#FF0000 goes to RED


#0000FF goes to BLUE


#568327 goes to DARK GREEN


#9b07c6 goes to PURPLE




Go To Chapter 5

Tidak ada komentar:

Posting Komentar