XHTML standardi attribuutit

HTML tags have attributes. Special attributes of each tag are listed under each tag description. The attributes listed here are the core attributes and language attributes (with some exceptions) common to each tag.

Core Attributes

The following tags do not provide the following attributes: base, head, html, meta, param, script, style, and the title element.

Attribuutti Arvo Kuvaus
class class_rule or style_rule class of an element
id id_name a specific id of an element
style style definition inline style definition
title Vihjeteksti Näytetään vihjevälineessä oleva teksti

Kieliattribuutit (Language Attributes)

Seuraavat merkinnät eivät tarjoa alla olevia attribuutteja: base, br, frame, frameset, hr, iframe, param, ja script-elementti.

Attribuutti Arvo Kuvaus
dir ltr | rtl Aseta tekstin suunta
lang Kielikoodi Aseta kielikoodi

Näppäimistöattribuutit (Keyboard Attributes)

Attribuutti Arvo Kuvaus
accesskey Merkki Aseta elementin pääsyavaimisto
tabindex Luku Aseta elementin Tab-järjestys