File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes What is # in href declaration? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "What is # in href declaration?" Watch "What is # in href declaration?" New topic
Author

What is # in href declaration?

Naveen Morrise
Greenhorn

Joined: Jun 06, 2006
Posts: 25
I am new to the Java script code and can any one explain me what in 'href="#"' means and what it represents.


Naveen
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61202
    
  66

It is used to reference a named anchor within a page.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
That is not JavaScript...it is HTML.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is # in href declaration?