Monday 30 November 2015

HTML Lecture 3

HTML Styling 
Every html has it's own style (The Background color is white and the test color is black).

We can  change html element style with the help of  Style Attribute. 

How to Change background color ?
your answer is given bellow.:

Attribute or tag used to change the background color is : 

style = "property : value" 

Example : 

<body>
                <h1 style style ="color : blue" > Your text </h1>
               <p style ="color : red > Your text </p>
                
</body>

Result :





No comments:

Post a Comment