How to give Colors to the Text in HTML File?

10/29/10
Posted by Fulto

HTML is a very useful programing language for developing webpages with colorful text.

The following are the steps for giving color to the text of webpages in HTML Program.


Step 1: Open notepad 
Step 2:  Save the file with file extention ".html" or ".htm" for example "color_text.html" or "color_text.htm" in your working folder.( e:/html_programs/colot_text.html)
Step 3: Write the following code in the above created notepad file.

                       <html>
                                    <head>
                                                 <title>HTML Program for displaying text with COLORSs</title>
                                   </head>
                                  <body>
                                                 <font color="green">Name:</font> E. Jaya Kumar Reddy<br>
                                              <font color="blue">  Qualification : </font>M.Tech<br>
                                              <font color="red"> Favourite Subjects: </font>JAVA, DBMS
                                  </body>
                    </html>
Step 4: Save the above code 
Step 5: Goto the location where u have saved your aboutme.html program and then double click on the file then the following out put will be displayed.

 Ask me about your dought by posting question as a Comment?

People who read this post also read :



Labels:

0 comments: