In Association with Amazon.in   Flipkart

Friday, July 5, 2013

CSS Styles Through DIV Tag With Example

<div> (Line break) : This Tag is used to group a set of objects and apply styles to entire group.

Example-3:  <div>  Using inline CSS     (it  will start from next line)


<html>
        <head>
               
        </head>
        <body>  
<div id="header">
             <hr/>
            <h2>  Designed by: <div style="color:red">Ganesh M</div></h2>
           <hr/>
</div>
        </body>
</html>
o/p:-------------------------------------------------------------
_______________________________
Designed by:
 Ganesh M

_______________________________

No comments:

Post a Comment


Related Posts Plugin for WordPress, Blogger...