< HTML < Overzicht attributen
Inhoudsopgave |
Functie
pre
Met dit attribuut geef je aan hoeveel tekens er op één lijn mag staan. Dit attribuut is verouderd voor pre
, gebruik liever css.
Waarde
pre
Een getal.
Voorbeeld
pre
HTML-code: Een voorbeeld van het gebruik van het width attribuut bij het element pre
<pre width="10">
Maximale lengte is 10
</pre>
Wordt gebruikt bij
Meer informatie
- w3c (Engels) voor
pre
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.