Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Is a Style Tag/Element
What Is a Style Tag/Element? - XHTML 1.0 Tutorials - Document Structure and Head Level Tags
✍: FYIcenter.com
A "style" element is an optional sub-element of the "head" element. A "link" element is used to specify Cascading Style Sheet (CSS) entries. Here is good example of a style element:
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My Second CSS Example</title>
<style type="text/css">
body {background-color: #dddddd}
</style>
</head>
<body>
<p>Hello world!</p>
</body>
</html>
If you save the above document as hello.html, and view it with Internet Explorer, you will see a gray background specified by the CSS entry in the "style" element.
2007-05-12, 4959👍, 0💬
Popular Posts:
How can you implement MVC pattern in ASP.NET? The main purpose using MVC pattern is to decouple the ...
What Are Named Parameters? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions Name...
How To Fade Image Edges to Background Colors? - PSP Tutorials - Fading Images to Background Colors w...
How can I enable session tracking for JSP pages if the browser has disabled cookies? We know that se...
What are shared (VB.NET)/Static(C#) variables? Static/Shared classes are used when a class provides ...