ComputerEducationWorld.com Categories:
Free Computer Books Online, PHP, PHP 5 Power Programming, C Programming, C For Beginners, Professional C sharp, INDEX - C# Professional in 15 days, Java, Java 2 (simpler way-Old version), Javascript Tutorial for Beginners, HTML, HTML for Beginners, HTML For Advanced, CSS, CSS For Beginners, CSS Advanced, Basic of Computers, Javascript, Free Web Designing Courses, Introduction to JavaScript, Javascript For Beginners, Download Free E-book, .Net, News and Alerts, Ajax, PHP Script, PHP and XML, PHP Ad Management, PHP Classes, MYSQL, Mysql Classes, Mysql Functions, Tips and tricks, Mozilla firefox tricks, Notepad tricks, Windows tricks, MS word tricks, miscellaneous tricks, HTML Tips and Tricks, PHP Tricks, PHP & MySQL, PHP and MySQL - From Beginning to Professional, INDEX, Basic of MySQL, INDEX - MySQL Basic, Wordpress, Wordpress Plugins, Webmasters, Linux/Unix, jQuery
|
HTML Attributes
|
39 views
The text on your web page is pretty small. We are about to change that with a new tag: <FONT> </FONT>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.
<FONT SIZE=”6″>practice</FONT>The attribute was only required for the beginning tag. 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
Another attribute that can be used with the FONT tag is COLOR:
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:
<FONT SIZE=”7″ COLOR=”red” FACE=”arial”>practice</FONT> <FONT COLOR=”#FF0000″>practice</FONT>“#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
To change the style of text add the FACE attribute to the FONT tag:
<FONT FACE=”arial”>practice</FONT>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:
<FONT SIZE=”7″ COLOR=”red” FACE=”arial”>practice</FONT>
|
Post Comment
You must be logged in to post a comment.
|
|