dm_html_span Function

public pure function dm_html_span(str, class) result(html)

Returns <span> element of optional class, with encoded str enclosed.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str

Element content.

character(len=*), intent(in), optional :: class

Element CSS class.

Return Value character(len=:), allocatable

Generated HTML.


Calls

proc~~dm_html_span~~CallsGraph proc~dm_html_span dm_html_span proc~dm_html_encode dm_html_encode proc~dm_html_span->proc~dm_html_encode