• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Creating a Web Page Layout wi... > Styles embedded in the head of the d...

Styles embedded in the head of the document

When you embed styles, you create your CSS styles in the head portion of your HTML document and refer to them in the HTML, like this:

<head>
<title>Claudia Snell:: New Media Designer</title>
<style type="text/css">
<!‐‐
p {color: #990099}
‐‐>
</style>
</head><body><p>This text would be purple</p></body>
</html>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint