How to change font colour in HTML



                                                                                                                                                  

Changing font colour in HTML

                                                                                                                                               


        In this tutorial we learn how to change the font colour in HTML . But the font tag is                 changes many things like size , colour , font . 

        Using the font tag make text very attractive .

        The syntax of the font tag is :   

                               <font size=".." color=".." face="..">............</font>

       In the face section write your font name like Times New Roman , Calibri  
  

    Step : 1

          Open your notepad  and type the following code
<html>
<head><title>change font colour</title>
<body background="...">
<center>
<h1>Welcome to the TechCoolz</h1>
<br>
<br>
<font face="FONT NAME" size="IN PIXELS " color="ANY COLOR">Follow TechCoolz</font>
</body>
</center>
</head>
</html>

    Step : 2

          Save this code as a HTML file .


    Step : 3

         Open it 




          If you have any problem you comment it down 


Check out my blog    How to Insert background image in HTML
                                 Arithmetic operation in C
           

Comments

Popular Posts