Two Embedded Style : style : HTML HTML CSS TUTORIALS


HTML CSS TUTORIALS » HTML » style »

 

Two Embedded Style


 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Embedded Style Sample</title>
    <style type="text/css" media="screen">
    
    h1 {
        font: Arial;
    }
    
    </style>
    
    <style type="text/css" media="print">
    
    h1 {
        font: Times;
    }
    
    </style>

</head>

<body>

    <h1>Welcome!</h1>

</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo HTML
» style