Change the color of the text in div - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Text

Description

Change the color of the text in div

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!-- w  w  w  . j ava2s  .com-->
 <body> 
  <div style="color: #ff0000">
    Where would you like to go today? 
  </div>  
 </body>
</html>

Related Tutorials