| HTML MADE EASY |
Html Made Easy now a book. For more info Click here |
| Free Graphics | Graphics Optimizer | Resources | Freeware | |
| Personalized Mugs | JPEGCruncher Desktop | T-Shirts | |
|
HTML TUTORIAL
Introduction
Lesson1:Tags Lesson2:Paragraphs Lesson3:Attributes Lesson4:Lines Lesson5:Graphics Lesson6:Alignment Lesson7:Links Lesson8: Tables Lesson9: Frames HTML EXTRAS
Uploading Webpages
Quick Reference Color Chart Free Web Graphics Graphics Optimizer Resources Free Software
Html Tutorial Book
Html Made Easy is now a book! Don't spend money on books you won't understand,
The
Complete Html Made Easy takes you every step of the way in building a website,
and it makes it fun and easy too!
More Info |
Lesson 3: AttributesYou probably noticed that the text on your web page is pretty small. We are about to change that with a new tag*:
Inside this tag we are going to put what's called an attribute. Attributes tell tags how or where they are to display the stuff that is between them. To change the size of text we will use the SIZE attribute inside the FONT tag* like so:
Result: Note that the attribute was only required for the beginning tag. Note also the quotation marks around the 6, very important, never forget to put them in when using attributes otherwise it may mess up your webpage. You may use any size from 1 to 7, with 1 being the smallest,and 7 the largest.
Color
Result: |
|
Did You Know
All it takes is a teeny little mistake like a missing quotation mark to mess up your
webpage big time, so be careful when you write your code.
Art Online
|
"#FF0000" is the code for red. Notice the # in
front of the code, don't forget to include it inside the quotes.
You can use the name of the color instead but it's better to use
the code since some older browsers will not understand color names.
Click here for a list of color codes and their names.
Style
Result: Keep in mind that the style of font the viewers of your web page see depends on the style fonts they have installed on their computer. If they don't have the style you're using for your webpage, they'll get the default setting of their browser. You can use any combination or all attributes in the font tag like so:
Notice that each attribute is separated by a space. Here's the result:
*ABOUT THE FONT TAG:
Even though the FONT tag still works, it's function has now been replaced with CSS. The FONT tag is used in this lesson to show you how attributes work in HTML tags. An introduction to CSS is included in The Complete HTML MADE EASY
web page like thisby using the ALIGN attribute in the beginning heading tag:
The stuff between the beginning and end tag will be on the right side of the page. Notice again that the attribute is only required for the beginning tag. Go try some attributes yourself and on with lesson 4.
|