PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The HTMLHeader property is used to get and change the HTML code inserted in the page header.
Remark: The HTML code inserted in the page header can also be specified in the "Advanced" tab of the page description window ("Html" tab).
Example
// Add facebook meta tag
sFacebookCode is string = [
<À name="fb_share"></À>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share"
       type="text/javascript">
</script>
]
 
MyPage.HTMLHeader = sFacebookCode
Syntax

Getting the HTML content inserted in the page header Hide the details

<HTML content> = <Page used>.HTMLHeader
<HTML content>: Character string
HTML content inserted in the page header.
<Page used>: Page name
Name of the page to be used.

Modifying the HTML content inserted in the page header Hide the details

<Page used>.HTMLHeader = <HTML content>
<Page used>: Page name
Name of the page to be used.
<HTML content>: Character string
HTML content that will be inserted in the page header.
Remarks
The HTML code is inserted in the middle of the page header (after the .js declaration).
Minimum version required
  • Version 17
Comments
Click [Add] to post a comment