< HTML < Overzicht attributen

HTML

Inhoudsopgave
  1. Verklarende woordenlijst
  2. Overzicht tags
  3. Overzicht attributen
  4. Andere cursussen

Functie

Dit attribuut dient om de schrijfrichting van tekst te veranderen. Dit wordt meestal gebruikt wanneer een stukje tekst ook zinnen bevat in bijvoorbeeld het arabisch of hebreeuws die in de omgekeerde richting worden geschreven.

Waarde

Deze attribuut kan 2 waardes bevatten ofwel ltr(left to right) ofwel rtl(right to left). Standaard wordt ltr gebruikt.

Voorbeeld

HTML-code: Een voorbeeld van het gebruik van de dir attribuut

<p dir="rtl">القاموس أو الذخيرة</p>

القاموس أو الذخيرة

Wordt gebruikt bij

Meer informatie


HTML attributen

abbr | accept | accept-charset | accesskey | action | align | 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 | href | id | lang | style | title | width

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.