HTML <a> href Attribute
HTML <a> tag
Example
The href attribute specifies the link's destination:
| <a href="http://www.w3schools.com">Visit W3Schools</a> |
Try it yourself » |
Definition and Usage
The href attribute specifies the destination of a link.
The href or the name attribute must be present in the <a> tag.
Browser Support

The href attribute is supported in all major browsers.
Syntax
Attribute Values
| Value |
Description |
| URL |
The URL of the link. Possible values:
- An absolute URL - points to another web site (like href="http://www.example.com/default.htm")
- A relative URL - points to a file within a web site (like href="default.htm")
- An anchor URL - points to an anchor within a page (like href="#top")
|
HTML <a> tag
Stylus Studio® 2010 XML Enterprise Suite raises the bar for productivity in XML development tools.
Millions of XML developers and data integration specialists turn to Stylus Studio's comprehensive and intuitive
XML toolset to tackle today's advanced XML data transformation and aggregation challenges.
|
- XML Pipeline Editor, Debugger and Code Generator
- DataDirect XML Converters
- XQuery Mapper, Editor, Debugger, and Profiler
- XSLT Mapper, Editor, Debugger, Designer, and Profiler
- Java and C# for .Net Code Generation
- XML Schema Designer With Documentation Generator
- XML Editor With Full XPath Integration
Download a free trial now
|
|