No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Référence HTML : id

L'attribut id

  • Type : ID
  • Valeur par défaut : #IMPLIED

Description de l'attribut id

L'attribut id nous permet d'attribuer un identifiant unique au sein du document pour l'élément auquel il se rapporte. Ceci peut être vérifié par un analyseur SGML.

HTML spécifie plusieurs rôles pour l'attribut id :
  • il peut servir de sélecteur dans une feuille de style (CSS).
  • il peut servir d'ancre cible de liens hypertextes.
  • les scripts peuvent accéder aux éléments en fonction de leur attribut id.
  • il peut servir de nom pour un élément object déclaré
  • il peut servir à un traitement universel par les navigateurs

Eléments qui peuvent utiliser cet attribut :

| a | abbr | acronym | address | applet | area | b | basefont | bdo | big | blockquote | body | br | button | caption | center | cite | code | col | colgroup | dd | del | dfn | dir | div | dl | dt | em | embed | fieldset | font | form | frame | frameset | h1 | h2 | h3 | h4 | h5 | h6 | hr | i | iframe | img | input | ins | isindex | kbd | label | legend | li | link | listing | map | menu | noframes | noscript | object | ol | optgroup | option | p | param | plaintext | pre | q | s | samp | select | small | span | strike | strong | sub | sup | table | tbody | td | textarea | tfoot | th | thead | tr | tt | u | ul | var | xmp |

Liste des attributs et évènements


Liste des balises

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/id.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.