Returns HTML header with DOCTYPE and optional CSS. Links to the style sheet files and internal CSS can be added.
The first heading will be set to the page title. The heading is
shown only if no navigation array is passed. The brand title brand
will be placed in a level 3 heading.
The given title and sub-title are encoded by this function.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | title |
HTML page title and first heading. |
||
character(len=*), | intent(in), | optional | :: | subtitle |
Subtitle. |
|
character(len=*), | intent(in), | optional | :: | brand |
Brand title. |
|
character(len=*), | intent(in), | optional | :: | inline_style |
Inline CSS. |
|
type(string_type), | intent(inout), | optional | :: | styles(:) |
Array of CSS file paths. |
|
type(anchor_type), | intent(inout), | optional | :: | nav(:) |
Navigation anchors. |
|
logical, | intent(inout), | optional | :: | nav_mask(:) |
Navigation anchors mask. |
Generated HTML.