Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me
All your queries regarding CSS will be solved in this forum
  • Page:
  • 1
TOPIC:

CSS

CSS 1 year, 6 months ago #311

  • manjeet
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
What is embedded style? How to link?

Re: CSS 1 year, 2 months ago #541

  • palak
  • OFFLINE
  • Senior Boarder
  • Posts: 55
  • Karma: 0
The HEAD area, where the TITLE and META tags are found, is also used to store CSS commands.
These are called embedded CSS. Any embedded CSS command will over-ride an external CSS command of the same tag. Embedded commands are more specific to the page.

Embedded CSS codes are placed within the HEAD area of the page code. That is anywhere after the <HEAD> tag and before the </HEAD> tag. NOT in the HEAD tag itself.

<s-tyle type="text/css" media=screen>
<!--
p {font-family: georgia, serif; font-size: x-small;}
hr {color: #ff9900; height: 1px }
a:hover {color: #ff0000; text-decoration: none}
-->
</style>

Now, whenever any of those elements are used within the body of the document, they will be formatted as instructed in the above style sheet.
  • Page:
  • 1
Time to create page: 1.68 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download