HtmlTagsBegin
'Typical HTML tags before the page content
Sub HtmlTagsBegin($title As String) As String
'Typical HTML tags after the page content
Sub HtmlTagsEnd As String
These two functions can be used when generating a new page, so that you only need to add the actual page content.
The $title parameter defines the title in the head section.
Parameter
- $title ... String expression. Title of the page.
Example:
Dim $newPage
$newPage = HtmlTagsBegin("Converted page")
$newPage = $newPage + "line 1<br>line2<br>line3"
$newPage = $newPage + HtmlTagsEnd
'$newPage has now this content:
' <html><head>
' <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
' <meta name="viewport" content="width=device-width, initial-scale=1.0">
' <title>Converted page</title>
' </head><body>
' line 1<br>line2<br>line3'
' </body></html>