> <b>Finns det någon htmlkod för tab? </b>Sv: Htmlkod för tab?
Nej, det finns ingen HTML-tagg för tabb. Däremot så finns det ett tecken som representerar en tab i ASCII, men den behandlas bara som ett White Space i HTML. Läs gärna i HTML-standarden om vad de säger om tab i HTML.
9.1 White space
<URL:http://www.w3.org/TR/html401/struct/text.html#h-9.1>
Eller som de skriver i:
9.3.4 Preformatted text: The PRE element
<URL:http://www.w3.org/TR/html401/struct/text.html#h-9.3.4>
The horizontal tab character
The horizontal tab character (decimal 9 in [ISO10646] and [ISO88591] ) is usually interpreted by visual user agents as the smallest non-zero number of spaces necessary to line characters up along tab stops that are every 8 characters. <b>We strongly discourage using horizontal tabs in preformatted text</b> since it is common practice, when editing, to set the tab-spacing to other values, leading to misaligned documents.