2009/10/22
XHTML 1.0 Strict - Form Input
It isn't allowed :) You need to put the input tag (which is an inline element)
inside a block-level element. The form element doesn't count. It was disallowed for semantic reasons.
Try a paragraph element . Or perhaps a table (if you have a table of fields to fill in, and not just a table-based layout to beat CSS limitations...)
Validate forms XHTML 1.0 Strict
I ran into some trouble with the forms validation because I was using a javascript:document.formname.submit() which would require a name for the form. As it turns out, form name is deprecated in XHTML 1.0 Strict and XHTML 1.1.
In other words
is not valid in XHTML 1.0 Strict and XHTML 1.1.
To get around this issue, I used and in my link I used
javascript:document.forms['blah'].submit();
which validates correctly.
Also, to get around the carriage return problem in input tags of forms (for input tags to validate correctly in XHTML 1.0 Strict and XHTML 1.1, they have to surrounded by
or h1 etc. ) I surrounded my inputs by (gasp) fieldsets and then hid it by styling the fieldset so I could get them all in one line. Im sure a lot of people know about these already, but this is for my future reference.
reference:http://weblogtoolscollection.com/archives/2004/08/16/validate-forms-xhtml-10-strict/
2009/10/20
Valid Flash description
Valid Flash example for XHTML 1.0 Strict (XHTML 1.1)
http://www.ambience.sk/flash-valid.htm
This code for Flash (SWF) validates in compliance with web standards set by W3C. This code can be used in XHTML 1.0 Strict and is 100% valid. It degrades to GIF image if Flash plugin is not available and HTML + CSS stays valid.
When using Flash Satay method, you will have to use container movie to make your XHTML and CSS pages validate with webstandards. In this example no container Flash movie is needed and XHTML 1.0 Strict page stays valid and complies with web standards as set by W3C.
This code has been tested and works in Internet Explorer 5.01, 5.5, 6.0, Mozilla, Mozilla Firefox (former Mozilla Firebird), Opera and Konqueror and is fully XHTML Strict valid. No
2009/10/12
Google Translate
http://translate.google.com/translate_tools