<< Go Commands << Go Home

Command @link

Description:

Inserts a link in page.
 
Warning: command only works inside a .tg9 file.

Syntax:

@link
@@url
@@text
@@size
@@target
@end_link

Parameters:

Param @@url
description: path to file
options:
default:
optional: no
Param @@text
description: link text
options:
default: "Link"
optional: no
 
Param @@size
description: link text size
options: %, pt, em, rem
default: 16px
optional: yes
 
Param @@target
description: where link will open
options: _self, _blank
default: _self
optional: yes
Obs: parameters can be put in any line order

Example:

1 @link
2 @@url ../../../index.htm
3 @@text Home
4 @end_link

Output:

Home