This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes what's the syntax for 'tab Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "what Watch "what New topic
Author

what's the syntax for 'tab" in html ?

Artemesia Lakener
Ranch Hand

Joined: Jun 21, 2005
Posts: 162
I know " " is for a space. But I want more spaces like a tab, any html syntax for that ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61994
    
  67

No. Indentation is performed via CSS.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
try 	

Eric
Artemesia Lakener
Ranch Hand

Joined: Jun 21, 2005
Posts: 162
Originally posted by Eric Pascarello:
try 	

Eric


this doesn't work for me...
Artemesia Lakener
Ranch Hand

Joined: Jun 21, 2005
Posts: 162
Originally posted by Bear Bibeault:
No. Indentation is performed via CSS.


thanks, is there any difference between " " and "   " ?

will HTML or browser cut three spaces to one automatically ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61994
    
  67

Browsers, except in certain galling cases, are pretty much whitespace agnostic. Whether you use 1 space or 30,000 it will make no difference (except to download speed, of course).
 
Consider Paul's rocket mass heater.
 
subject: what's the syntax for 'tab" in html ?