'style' Example : style « HTML Tag Reference « HTML CSS Reference






'style' Example

    
<html>
<title>style element example</title>
<head>
<style>body { background-color: black; color: white; }</style>
</head>
<body>The body cotains a black background and white letters.</body>
</html>
    
      
      








Related examples in the same category

1.'style' Syntax and Note
2.'style' HTML Attributes
3.'style' Event Handlers
4.'style' JavaScript Properties
5.'style' JavaScript Methods
6.'style' JavaScript Collections