dm_html_header Function

public function dm_html_header(title, subtitle, brand, inline_style, styles, nav, nav_mask) result(html)

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.

Arguments

Type IntentOptional 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.

Return Value character(len=:), allocatable

Generated HTML.


Calls

proc~~dm_html_header~~CallsGraph proc~dm_html_header dm_html_header proc~dm_html_encode dm_html_encode proc~dm_html_header->proc~dm_html_encode proc~dm_html_heading dm_html_heading proc~dm_html_header->proc~dm_html_heading proc~dm_html_link dm_html_link proc~dm_html_header->proc~dm_html_link proc~dm_html_nav dm_html_nav proc~dm_html_header->proc~dm_html_nav proc~dm_string_is_present dm_string_is_present proc~dm_html_header->proc~dm_string_is_present proc~dm_html_heading->proc~dm_html_encode proc~dm_html_small dm_html_small proc~dm_html_heading->proc~dm_html_small proc~dm_html_link->proc~dm_html_encode proc~dm_html_anchor dm_html_anchor proc~dm_html_nav->proc~dm_html_anchor proc~dm_html_anchor->proc~dm_html_encode proc~dm_html_small->proc~dm_html_encode