HTML Tags
Bolding Text <b>Or<strong>
Italics Text <em>Or<i>
Underlined Text <u>
The Horizontal Rule <hr>attributes: color: changes lines color rgb rgb(255, 0, 0) hexadecimal “000000” literal name “red” width: changes length of line percentage 30% pixels “3” size: changes height of line pixels “4” noshade: makes line flat
RGB Color Code Contains three digits Each value can be between rgb(0, 0, 0) First digit: amt of the color red Second digit: amt of the color green Third digit: amt of the color blue
Hexadecimal Value Contains six digits Values can be 0-9 or a-f “#000000” First two digit represents red Second two digits represents green Third two digits represents blue
Image Used to insert an image three file extensions for a picture.jpg.gif.bmpattributes: width: width of picture in pixels height: height of picture in pixels border: adds a border around the picture alt: provides a text description of the picture
Address Used to insert an address in a web page Used as a footer <address>
Font Used to change fonts <font>attributes: size: changes font size color: changes font color face: changes font style
Blockquote Placed around large quoted blocks of text <blockquote> Placed around small quoted text <q>
Text Formatting Used for a citation <cite> Used to create big text <big> Used to create small text <small> Used to create preformatted text <pre>
Anchor Tag Used to link to another web page Yahoo Yahoo
Break Tag Used to insert a line break in an HTML document<br>
Center Used to center objects in an HTML document<center>
Align Attribute Used to align object Must be placed inside an existing html tag Example:
Body Tag Used to open the body of an HTML documentattributes: background: used to change the background to an image bgcolor: used to change the background color text: used to change the text color link: change the links colors alink: change the active link color vlink: change the visited link color
Adding music or movie attributes: loop: used to play music continuously hidden: used to hide the media player
Marquee Used to insert a scrolling marquee <marquee>attributes: scroll: Slide the text into the box and out again. slide: Slide the text into the box and stop when it hits the side. alternate: Slide back and forth.