HTML specifikation

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Pozor
Forum Commoner
Posts: 74
Joined: Tue Mar 30, 2004 11:11 pm
Location: Switzerland

HTML specifikation

Post by Pozor »

Hello,

i just installed smarty before, now i saw in the manual some html code who is produced from smarty:

Code: Select all

<label><input type="checkbox" name="checkbox&#1111;]" value="1000" />Joe Schmoe</label><br />
for me the /> looks strange... i looked it up in the specifikation of html (4.0 and 4.01) and there it is different (like i thought it is right)

Code: Select all

<label><input type="checkbox" name="checkbox&#1111;]" value="1000" >Joe Schmoe</label><br>
Why use smarty this syntax ?
i saw this many times on sereval pages.

greez Pozor
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

This is XHTML - it is the next step on from HTML and requires all tags to be closed. Empty tags such as BR, IMG and INPUT can be closed and opened in the same tag:

Code: Select all

<br /> instead of <br></br>
Mac
User avatar
no_memories
Forum Contributor
Posts: 145
Joined: Sun Feb 01, 2004 7:12 pm
Location: New York City

Post by no_memories »

I just finished a fine tuned W3C spec form with fieldsets.

http://www.thexvector.us/?pg=ct
Post Reply