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

Chapter 28. Text Formatting Elements > HTMLHeadingElement Interface / <hN>…</hN...

HTMLHeadingElement Interface / <hN>…</hN>

Browser/JavaScript Version Created By
Nav4/JavaScript 1.2 <h1>...</h1>
<h2>...</h2>
<h3>...</h3>
<h4>...</h4>
<h5>...</h5>
<h6>...</h6>

 
IE4/JScript 3.0
<h1>...</h1>
<h2>...</h2>
<h3>...</h3>
<h4>...</h4>
<h5>...</h5>
<h6>...</h6>

IE5/JScript 5.0
<h1>...</h1>
<h2>...</h2>
<h3>...</h3>
<h4>...</h4>
<h5>...</h5>
<h6>...</h6>

IE5.5/JScript 5.5
<h1>...</h1>
<h2>...</h2>
<h3>...</h3>
<h4>...</h4>
<h5>...</h5>
<h6>...</h6>

Nav6/JavaScript 1.5
<h1>...</h1>
<h2>...</h2>
<h3>...</h3>
<h4>...</h4>
<h5>...</h5>
<h6>...</h6>

IE6
<h1>...</h1>
<h2>...</h2>
<h3>...</h3>
<h4>...</h4>
<h5>...</h5>
<h6>...</h6>

DOM Level 1
document.createElement("h1")
document.createElement("h3")
document.createElement("h2")
document.createElement("h5")
document.createElement("h4")
document.createElement("h6")


Note

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

Descends from HTMLElement interface (Chapter 21)

Block Text Formatting Element



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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