My question is why is there a space before closing with /> why not My question is why is there a space before closing with /> why not
Previous Thread
Next Thread
Print Thread
Rate Thread
#18501 09/28/05 08:50 PM
Joined: Sep 2005
Posts: 102
T
UGN Member
UGN Member
T Offline
Joined: Sep 2005
Posts: 102
<input type="hidden" name="price"value="19.95" />


My question is why is there a space before closing with />

why not <input type="hidden" name="price"value="19.95"/>

Sponsored Links
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
#18502 09/28/05 10:00 PM
Joined: Feb 2002
Posts: 7,204
Likes: 11
Community Owner
Community Owner
Joined: Feb 2002
Posts: 7,204
Likes: 11
Both are xhtml valid; it's user preferance really; I prefer the space as you space between every entity.


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner

Link Copied to Clipboard
Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,204
Joined: February 2002
Forum Statistics
Forums41
Topics33,839
Posts68,797
Members2,177
Most Online73,244
Nov 9th, 2025
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,204
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Crime 1
Ice 1
Dartur 1
Cyrez 1
Powered by UBB.threads™ PHP Forum Software 8.0.0