Sinisterly
Adding a URL in a post/HTML - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Adding a URL in a post/HTML (/Thread-Adding-a-URL-in-a-post-HTML)



Adding a URL in a post/HTML - SCARIO - 02-21-2020

HTML page redirection.

Code:
<a href="http://webı.com">Post it here. </a><br />
If you want Linkin to open on a different page. then after the site target="_blank" Add your.

Code:
href="http://web.com"target="_blank">post it here</a><br />
Url for the file:
Code:
[url = You must write the link of the file here] Text you want to write here! [/ Url]

Here are a few page redirect codes. Maybe it will be useful for you.
1. Cod:
Code:
<script type="text/javascript"> $(function() { location.href = 'adres'; });</script>

2. Cod:
Code:
<body onload="javascript:location.href='adres'">

3.cod:
Code:
<script type="text/javascript"> window.location.assign("adres");</script>

(02-22-2020, 12:05 PM)hacxx Wrote: You could have added html redirect...

Code:
<meta http-equiv="Refresh" content="0; url=https://sinister.ly">



RE: Adding a URL in a post/HTML - mothered - 02-22-2020

Quote:If you want Linkin to open on a different page. then after the site target="_blank"
This was one of the first things I applied, when learning HTML nearly three decades ago. I use It daily when referencing links on my blogs.

A basic guide, yet beneficial to those who're new to HTML & JavaScript.


RE: Adding a URL in a post/HTML - hacxx - 02-22-2020

You could have added html redirect...

Code:
<meta http-equiv="Refresh" content="0; url=https://sinister.ly">