ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Various properties
  • Description associated with a page
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 Description property is used to get and change the page description. The description may be truncated when it is displayed in the search result. The description can also be entered from the page editor.
In Active WEBDEV Pages, the Description property is used to dynamically enter the description associated with the page (based on the page content).
Example
// Modifies the description of the page according to its content
MyPage.Description = "Online boat sales"
Syntax

Finding out the description associated with a page Hide the details

<Page description> = <Page used>.Description
<Page description>: Character string
Sentence used to describe the page.
<Page used>: Page name
Name of the page to be analyzed.

Modifying the description associated with a page Hide the details

<Page used>.Description = <Page description>
<Page used>: Page name
Name of the page for which the description must be defined.
<Page description>: Character string
Description that must be associated with the page. This sentence must encourage the Web users to visit the page. This string must comply with the following rules:
  • No CR character (Carriage Return)
  • Be short (up to 200 characters)
Remarks

Description associated with a page

The description associated with a page is written in the HTML header of the page (<META NAME="Description" CONTENT="..."> tag). This description is used by the search engines: this value is displayed as page description in the list of search results.
The description must be defined in the initialization code of the page. Furthermore, to be efficient, the description must be defined on pages accessible via a URL in the following format: "http://".
Minimum version required
  • Version 12
Comments
Click [Add] to post a comment

Last update: 09/12/2023

Send a report | Local help