22.5 Specifying HTML <body>
attributes
You can use configuration settings to
assign values to HTML <body>
attributes:
[Attributes]
; body= attributename=value
Keep all attributes on one line, regardless
of line length. For XHTML, all attribute names must be lowercase. For
example:
[Attributes]
body= bgcolor="#FFFFE1" text="#000080" link="#008020" vlink="#804000"
You
can insert JavaScript for <body>
attributes; for example:
[Attributes]
body= onLoad="if (self != top) top.location = self.location"
In addition to attributes for the <body>
tag, you can use the [Attributes]
section to specify attribute values for <table>,
<tr>,
<td>,
<th>,
<thead>,
<tfoot>,
and <tbody>
tags; see §33.4.1
Specifying attributes for all tables.
Previous Topic:
22.4.7 Specifying
nonstandard values for declarations
Next Topic:
22.6 Specifying
document-wide properties for HTML
Parent Topic:
22. Converting to HTML/XHTML
Sibling Topics:
22.1 Deciding
which type of output to produce
22.2 Setting
up an HTML project
22.3 Including
starting code and entity references
22.4 Supplying
values for the <head> element
22.6 Specifying
document-wide properties for HTML
22.7 Defining
text colors for HTML
22.8 Importing
HTML files as insets
22.9 Providing
hover text for links in HTML
22.10 Generating
XHTML for Confluence 4.x
22.11 Exporting
content for database input
22.12 Specifying
a starting topic for HTML or XHTML
22.13 Using
framesets
22.14 Passing
W3C validation tests
Table of Contents • Index