< HTML < Overzicht attributen
Inhoudsopgave |
Functie
Hiermee geef je een kleur aan tekst. Dit attribuut is verouderd en er wordt aangeraden om CSS of het attribuut style in de plaats te gebruiken.
Waarde
Een kleurcode of de naam van een kleur.
Voorbeeld
HTML-code: Een voorbeeld van het gebruik van het text attribuut
<body text="blue">
</body>
Wordt gebruikt bij
Meer informatie
w3c (Engels)
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.