Avatar of Monroe406

asked on 

Using a global variable within HTML <body> section

I wish to insert a predefined (global) URL somewhere in a HTML file which can then be used elsewhere in the <body> section of the HTML file. Example:

<!-- define a global string somewhere before the body tag -->
<!-- Example:  GlobalURL = "http://mysite.com/aurl.htm" -->
I then wish to insert the <a href="%GlobalURL%">URL here</a>

Open in new window

How can I do this?

Avatar of undefined
Last Comment
Leonidas Dosas

8/22/2022 - Mon