Example
A new music service with official albums, singles, videos, remixes, live performances and more for Android, iOS and desktop. Middle English, variant of an, an; see an1. Usage Note: In writing, the form a is used before a word beginning with a consonant sound, regardless of its spelling (a frog, a university, a euphemism). The form an is used before a word beginning with a vowel sound (an orange, an hour).
Create a link to W3Schools.com:
Try it Yourself »More 'Try it Yourself' examples below.
Definition and Usage
The tag defines a hyperlink, which is used to link from one page to another.
The most important attribute of the element is the
href
attribute, which indicates the link's destination.
By default, links will appear as follows in all browsers:
- An unvisited link is underlined and blue
- A visited link is underlined and purple
- An active link is underlined and red
Tips and Notes
Tip: If the tag has no
href
attribute, it is only a placeholder for a hyperlink.
Tip: Use CSS to style links: CSS Links and CSS Buttons.
Browser Support
Element | |||||
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes |
Attributes
Attribute | Value | Description |
---|---|---|
download | filename | Specifies that the target will be downloaded when a user clicks on the hyperlink |
href | URL | Specifies the URL of the page the link goes to |
hreflang | language_code | Specifies the language of the linked document |
media | media_query | Specifies what media/device the linked document is optimized for |
ping | list_of_URLs | Specifies a space-separated list of URLs to which, when the link is followed, post requests with the body ping will be sent by the browser (in the background). Typically used for tracking. |
referrerpolicy | no-referrer no-referrer-when-downgrade origin origin-when-cross-origin same-origin strict-origin-when-cross-origin unsafe-url | Specifies which referrer information to send with the link |
rel | alternate author bookmark external help license next nofollow noreferrer noopener prev search tag | Specifies the relationship between the current document and the linked document |
target | _blank _parent _self _top | Specifies where to open the linked document |
type | media_type | Specifies the media type of the linked document |
Global Attributes
The tag also supports the Global Attributes in HTML.
864,882 likes 1,086 talking about this. The Crew is a revolutionary community-based action-driving game on Xbox one, PS4, Xbox 360 and PC with the entire USA as a playground!. GAMES CONTACT Welcome To UnblockedGamesCrew! Happy Wheels Cubefield Line Rider 1 Motorcross Racing More Coming Soon. Site counter: Powered by Create your own unique. A gaming site for school that is unblocked. Majestik Bakkon here. Well this is IGC (ISland Gaming Crew) and we thought that it would be cool to make a site for all of you guys to play on and have a lot of fun with while you are at school.
Event Attributes
Example
How to link to an email address:
Try it Yourself »Example
How to link to a phone number:
Try it Yourself »Example
How to link to another section on the same page:
Example
How to link to a JavaScript:
Try it Yourself »Related Pages
HTML tutorial: HTML Links
HTML DOM reference: Anchor Object
CSS Tutorial: Styling Links
Default CSS Settings
Event Attributes
The tag also supports the Event Attributes in HTML.
More Examples
Example
How to use an image as a link:
Try it Yourself »Example
How to open a link in a new browser window:
Try it Yourself »Example
How to link to an email address:
Try it Yourself »Example
How to link to a phone number:
Try it Yourself »Example
How to link to another section on the same page:
Try it Yourself »Example
How to link to a JavaScript:
Try it Yourself »Related Pages
HTML tutorial: HTML Links
HTML DOM reference: Anchor Object
CSS Tutorial: Styling Links
Default CSS Settings
Most browsers will display the element with the following default values:
A&e
A &bittersweet& Lesson On Copyright Act
- Texas A&M Opens Second Rec Center To Serve Campus Needs
The new Polo Road facility is part of a $78 million project that also includes a parking garage and dining areas.
The post Texas A&M Opens Second Rec Center To Serve Campus Needs appeared first on Texas A&M Today.
- John L. Junkins Answers Call To Serve As Interim Texas A&M President
The aerospace engineering professor and director of the Hagler Institute for Advanced Study aims to preserve what's great about the university, and where possible, find ways to make it better.
The post John L. Junkins Answers Call To Serve As Interim Texas A&M President appeared first on Texas A&M Today.
- New Geographic Monitoring Technique Detects Early COVID-19 Cases
A Texas A&M geography professor is part of a research team that found efficient ways to track the virus and pinpoint spreading clusters.
The post New Geographic Monitoring Technique Detects Early COVID-19 Cases appeared first on Texas A&M Today.
- Diversity Educator Jane Elliott Tells Texas A&M Audience There's ‘No Such Thing As Race' In Fiery Address
The internationally renowned anti-racism activist gave a virtual keynote address for the university's 14th Annual Martin Luther King Jr. Breakfast.
The post Diversity Educator Jane Elliott Tells Texas A&M Audience There's ‘No Such Thing As Race' In Fiery Address appeared first on Texas A&M Today.
- Deadline For Student COVID-19 Testing Is Friday
The three-step process is mandatory for students who live on campus or work for the university. All Aggies are strongly encouraged to get tested.
The post Deadline For Student COVID-19 Testing Is Friday appeared first on Texas A&M Today.
- Engineering A Safer, Less Flammable Battery
A Texas A&M team is using predictive models to reduce flammability in lithium-ion batteries found in smartphones and electric vehicles.
The post Engineering A Safer, Less Flammable Battery appeared first on Texas A&M Today.
- Making An Impact On The Rio Grande Valley
Drawing from personal experiences, Krystal Flores is supporting first-generation students at the Texas A&M Higher Education Center in McAllen and developing local public health interventions.
The post Making An Impact On The Rio Grande Valley appeared first on Texas A&M Today.
- Digital Agriculture Connects Dots For Crop Improvement
Texas A&M AgriLife researchers are using drones, big data and other high-tech methods for agricultural enhancement.
The post Digital Agriculture Connects Dots For Crop Improvement appeared first on Texas A&M Today.
- Nolanville's ‘Smart' Future
A Texas A&M College of Architecture-led project aims to help a small Texas town become a 'smart' city.
The post Nolanville's ‘Smart' Future appeared first on Texas A&M Today.
- Texas A&M 12th Can Receives Freezer Trailer To Expand Fight Against Hunger
The student-run food pantry celebrated the additional resource with a ribbon-cutting ceremony.
The post Texas A&M 12th Can Receives Freezer Trailer To Expand Fight Against Hunger appeared first on Texas A&M Today.