I am generating html5 with Tapestry 5.3.6.  Today I ran a simple form through a 
w3 validator.  The validator complained that my input tag had a "stray end tag".

<input class="username" id="username" name="username" type="text"></input>

You can see the entire page here:  http://goo.gl/GnVlr

After reading more about html5 than I had intended, I discovered that there are 
several "void" elements that are not supposed to be closed.  
http://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements

Is there any way to suppress the closing </input> tag when creating html5 
documents?

Thanks
Tony



Since 1982, Starpoint Solutions has been a trusted source of human capital and 
solutions. We are committed to our clients, employees, environment, community 
and social concerns.  We foster an inclusive culture based on trust, respect, 
honesty and solid performance. Learn more about Starpoint and our social 
responsibility at http://www.starpoint.com/social_responsibility

This email message from Starpoint Solutions LLC is for the sole use of  the 
intended recipient(s) and may contain confidential and privileged  information. 
 Any unauthorized review, use, disclosure or distribution is prohibited.  If 
you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original message.  Opinions, conclusions and 
other information in this message that do not relate to the official business 
of Starpoint Solutions shall be understood as neither given nor endorsed by it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to