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

Chapter 33. Styling for HTML Elements > HTMLStyleElement/<style>…</style>

HTMLStyleElement/<style>…</style>

Browser/JavaScript Version Created By
Nav4/JavaScript 1.2 <style>...</style>
IE4/JScript 3.0 <style>...</style>
IE5/JScript 5.0 <style>...</style>
IE5.5/JScript 5.5 <style>...</style>
Nav6/JavaScript 1.5 <style>...</style>
IE6 <style>...</style>
DOM Level 1 document.createElement("style")
DOM Level 2 document.createElement("style")
 document.implementation.createCSSStyleSheet()


Note

Implemented in Nav4+ (HTML), IE3+ (HTML), Nav6+ (DOM), IE4+ (DOM)

Descends from HTMLElement interface (Chapter 21)

Parent elements: HTMLHeadElement (Chapter 24)



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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