---
title: Href Attribute
localeTitle: Atributo Href
---
## Atributo Href
Href é a abreviação de "Hypertext Reference" e é um atributo HTML. O atributo href é usado principalmente para as tags `` para especificar o URL de uma página da web que o link leva (seja em uma seção diferente da mesma página ou em uma página da Web completamente diferente).
#### Como usar
``
#### Exemplos
```html
This is an absolute URL
This is a relative URL
```
#### Mais Informações:
[W3Schools](https://www.w3schools.com/tags/att_href.asp)
[HTMLElementReference](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a)