faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Common Problems : Not Quite ASP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 12 people (75%) answered Yes
Recently 5 of 7 people (71%) answered Yes

Entry

What is # for in a URL? eg. www.test.com.somefilename.asp#somevariablename

Jun 27th, 2000 18:28
unknown unknown, lungor


The # refers to a bookmark in the html document.

Example:

===================================
<html>
<head>
<title>Test.htm</title>
</head>

<body>

Hello!<br>
Some text here<br>
bla bla bla bla<br>
<br>
<a name="MyBookmark">My Boomark</a><br>
som more text<br>
bla bla bla

</body>

</html>
====================================

To link to "MyBookmark" you should use "test.htm#MyBookmark"



© 1999-2004 Synop Pty Ltd