[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
HTMLSPEC-STYLE
Used to specify cascading style sheets (CSS) in a web document. CSS allows web designers to specify details of fonts, colors, backgrounds, margins, and various other elements.
Attributes
Code Tip
CSS is very flexible, powerful, and also presents many features and advantages over other HTML elements used to describe web content. If possible, CSS should be used to define the majority of web document content.
Live Example
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
HTMLSPEC-STYLE
Style
UsageUsed to specify cascading style sheets (CSS) in a web document. CSS allows web designers to specify details of fonts, colors, backgrounds, margins, and various other elements.
Attributes
type=""
Code Tip
CSS is very flexible, powerful, and also presents many features and advantages over other HTML elements used to describe web content. If possible, CSS should be used to define the majority of web document content.
Live Example
<html>
<head><title>CSS Document Example</title>
<style>
<!--
H1 { text-align: center;
font-family: Times New Roman }
-->
</style>
</head>
<body>
<H1>Hi, there!</H1>
</body>
</html>
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
