LINK
URL, LABEL, CLASS, TARGET, ID
Generating a link to another page or resource.
Example
REM Goto internal link.
LINK "/about"
PRINT "About"
END LINK
REM Open the link in a new tab/window
LINK "https://github.com/kytschi/kytschBASIC",,,"_blank"
PRINT "Download"
END LINK
Output
Target
Type | Description |
---|---|
_self | Open in the current browsing context. (Default) |
_blank | Opens a new tab, but users can configure browsers to open a new window instead. |
_parent | The parent browsing context of the current one. If no parent, behaves as _self. |
_top | The top most browsing context (the "highest" context that's an ancestor of the current one). If no ancestors, behaves as _self. |