Example of HTML Inline Styles - HTML CSS HTML

HTML CSS examples for HTML:Tag Style

Description

Example of HTML Inline Styles

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html lang="en">
 <head> 
  <meta charset="UTF-8"> 
  <title>Example of HTML Inline Styles</title> 
 </head> <!--  w  ww.j a v  a 2  s  . c om-->
 <body> 
  <h1 style="color:red;font-size:30px;">This is a heading</h1> 
  <p style="color:#EEEEEE;font-size:18px;">This is a paragraph.</p> 
  <hr style="border-color:blue;">   
 </body>
</html>

Related Tutorials