pageHeader

Syntax pageHeader (title)

Params title is the title of the page.

Action Builds the HTML for the top of a page, everything up to and including the body tag. The page header may include meta tags and JavaScript scripts as well the head, title, and body tags.

Returns The HTML string.

Examples html.data.standardMacros.pageHeader ("Contact Information")

   » "<html>\r<head>\r<title>Contact Information</title>\r<meta name=\"generator" content="Frontier 6.0 MacOS"></head>r<body bgcolor="#FFFFF0" alink="#008000" vlink="#800080" link="#0000FF">"

Notes If you use this macro, you should not use a #pageHeader attribute also. You don't need to call any of the bgImageRef, bodyTag, or metaTags macros.

If you want to embed or link to a style sheet, or include anything else other than html, head, title, meta, script, and body tags in your page header, then using the #pageHeader attribute instead of the pageHeader macro is recommended.

This macro is stored at html.data.standardMacros.pageHeader.

See Also pageFooter

Discuss