< HTML < Overzicht attributen
Inhoudsopgave |
Functie
Met dit attribuut kun je bij de elementen applet, img en object witruimte bepalen aan de linker- en rechterkant. Dit is de tegenhanger van vspace. Dit attribuut is verouderd: gebruik liever het attribuut style of CSS.
Waarde
Pixels die aangeven hoeveel witruimte je wilt.
Voorbeeld
HTML-code: Een voorbeeld van het gebruik van het hspace attribuut
<img src="Bron van de afbeelding" alt="Een afbeelding" hspace="10px">
Wordt gebruikt bij
Meer informatie
- w3 (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.