Concordion > Commands > Embedded Stylesheet >

Missing <head>

If the document does not contain a <head> section then one will be automatically inserted as the first child of the <html> element. Any elements before the <body> section will be moved into the <head>.

Example

When this document is processed:

<html xmlns:concordion="http://www.concordion.org/2007/concordion">
<link href="my.css" rel="stylesheet" type="text/css" />
<title>My Title</title>
<body>
    <p>Body content goes here.</p>
</body>
</html>

, a <head> element will be inserted:

<html xmlns:concordion="http://www.concordion.org/2007/concordion"> _
<head>
<link href="my.css" rel="stylesheet" type="text/css" />
<title>My Title</title>
</head> _
<body>
    <p>Body content goes here.</p>
</body>
</html>

Further Details