C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How to use <style> tag?

0 votes
24 views
asked Apr 23, 2014 by smith Geek (15,340 points)

1 Answer

0 votes
This element allows a style sheet to be specified for the page. It should appear within the <head> section of a document.
 
Example
 
<html>
<head>
<style>
body {
     background-color: black;
     color: white;
}
</style>
</head>
<body>The body cotains a black background and white letters.
</body>
</html>
 
answered Apr 23, 2014 by augustaina Sr Member (4,820 points)

Related questions

0 votes
1 answer 41 views
41 views asked Apr 23, 2014 by rock Expert (14,990 points)
0 votes
1 answer 30 views
30 views asked Apr 23, 2014 by rock Expert (14,990 points)
0 votes
1 answer 30 views
30 views asked Apr 23, 2014 by rock Expert (14,990 points)
0 votes
1 answer 27 views
27 views asked Apr 23, 2014 by smith Geek (15,340 points)
0 votes
1 answer 28 views
28 views asked Apr 23, 2014 by smith Geek (15,340 points)
...