document.tags in
<SCRIPT> and <STYLE>
In <SCRIPT>, use
document.tags
:
document.tags.H1.fontSize = 12pt;
In <STYLE>, use
tags
:
tags.H1.fontSize = 12pt;
Within <STYLE> tags, for convenience there is an implicit enclosing
with document { ... }
.