Référence HTML : href
L'attribut href
- Type : %URI;
- Valeur par défaut : #REQUIRED
Description de l'attribut href
L'attribut href nous permet de spécifier pour l'élément base une adresse (URI) qui sera utilisée pour évaluer les adresses relatives.Eléments qui peuvent utiliser cet attribut :
| base |L'attribut href
- Type : %URI;
- Valeur par défaut : #IMPLIED
Description de l'attribut href
L'attribut href nous permet de spécifier la localisation d'une ressource Web. Nous établissons de cette manière un lien entre l'élément courant (l'ancre source) et l'ancre de destination définie par cet attributEléments qui peuvent utiliser cet attribut :
| a | area | link |Liste des attributs et évènements
- abbr
- accept
- accept-charset
- accesskey
- action
- align
- alink
- alt
- archive
- axis
- background
- bgcolor
- border
- cellpadding
- cellspacing
- char
- charoff
- charset
- checked
- cite
- class
- classid
- clear
- code
- codebase
- codetype
- color
- cols
- colspan
- compact
- content
- coords
- data
- datetime
- declare
- defer
- dir
- disabled
- enctype
- face
- for
- frame
- frameborder
- headers
- height
- href
- hreflang
- hspace
- http-equiv
- id
- ismap
- label
- lang
- language
- link
- longdesc
- marginheight
- marginwidth
- maxlength
- media
- method
- multiple
- name
- nohref
- noresize
- noshade
- nowrap
- object
- onblur
- onchange
- onclick
- ondblclick
- onfocus
- onkeydown
- onkeypress
- onkeyup
- onload
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onreset
- onselect
- onsubmit
- onunload
- profile
- prompt
- readonly
- rel
- rev
- rows
- rowspan
- rules
- scheme
- scope
- scrolling
- selected
- shape
- size
- span
- src
- standby
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 14/08/2006, last modified the 29/07/2022
Source of the printed document:https://www.gaudry.be/en/xhtml-rf-attribut/href.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.