The a trong html w3schools
ExampleCreate a link to W3Schools.com: Show Try it Yourself » More "Try it Yourself" examples below. Definition and UsageThe The most important attribute of
the By default, links will appear as follows in all browsers:
Tips and NotesTip: If the Tip: A linked page is normally displayed in the current browser window, unless you specify another target. Tip: Use CSS to style links: CSS Links and CSS Buttons. Browser Support
Attributes
Global AttributesThe Event AttributesThe More ExamplesExampleHow to use an image as a link: Try it Yourself » ExampleHow to open a link in a new browser window: Try it Yourself » ExampleHow to link to an email address: Try it Yourself » ExampleHow to link to a phone number: Try it Yourself » ExampleHow to link to another section on the same page: Try it Yourself » ExampleHow to link to a JavaScript: Try it Yourself » Related PagesHTML tutorial: HTML Links HTML DOM reference: Anchor Object CSS Tutorial: Styling Links Default CSS SettingsMost browsers will display the a:link, a:visited { a:link:active, a:visited:active { ❮ HTML tag ExampleThe href attribute specifies the link's destination: Try it Yourself » More "Try it Yourself" examples below. Definition and UsageThe If the Tip: You can use Browser Support
SyntaxAttribute Values
More ExamplesExampleHow to use an image as a link: Try it Yourself » ExampleHow to link to an email address: Try it Yourself » ExampleHow to link to a phone number: Try it Yourself » ExampleHow to link to another section on the same page: Try it Yourself » ExampleHow to link to a JavaScript: Try it Yourself » ❮ HTML tag |