HTML 4.01 | XHTML 1.0 | HTML 5 |
---|---|---|
Empty FORM - FAIL (block level element required inside FORM) |
Empty FORM - PASS | Empty FORM - PASS |
FORM with content - FAIL (block level element required inside FORM) |
FORM with content - FAIL (block level element required inside FORM) |
FORM with content - PASS |
FORM with DIV - PASS | FORM with DIV - PASS | FORM with DIV - PASS |
FORM with LABEL - FAIL (block level element required inside FORM) |
FORM with LABEL - FAIL (block level element required inside FORM) |
FORM with LABEL - PASS |
FIELDSET without LEGEND - FAIL (LEGEND required if FIELDSET is used) |
FIELDSET without LEGEND - PASS | FIELDSET without LEGEND - PASS |
FIELDSET with LEGEND - PASS | FIELDSET with LEGEND - PASS | FIELDSET with LEGEND - PASS |
FIELDSET with two LEGENDs - FAIL (FIELDSET requires only one LEGEND) |
FIELDSET with two LEGENDs - PASS (This should actially fail) |
FIELDSET with two LEGENDs - FAIL (FIELDSET requires only one LEGEND) |
FIELDSET with nested FIELDSET - PASS | FIELDSET with nested FIELDSET - PASS | FIELDSET with nested FIELDSET - PASS |
LEGEND with H3 - FAIL (inline content inside LEGEND) |
LEGEND with H3 - FAIL (inline content inside LEGEND) |
LEGEND with H3 - PASS |
Empty BLOCKQUOTE - FAIL (block level element required inside BLOCKQUOTE) |
Empty BLOCKQUOTE - PASS | Empty BLOCKQUOTE - PASS |
Empty BODY - FAIL (block level element required inside BODY) |
Empty BODY - PASS | Empty BODY - PASS |
CAPTION with H3 - FAIL (only inline content allowed inside CAPTION) |
CAPTION with H3 - FAIL | CAPTION with H3 - PASS |
Self closing element without trailing slash - PASS | Self closing element without trailing slash - FAIL (trailing slash required) |
Self closing element without trailing slash - PASS |
SCRIPT without type attribute - PASS | SCRIPT without type attribute - FAIL (type attribute required) |
SCRIPT without type attribute - PASS |
Block element inside Terminal element - FAIL (Terminal blocks cannot contain block elements) |
Block element inside Terminal element - FAIL | Block element inside Terminal element - FAIL |
Block element inside inline element - FAIL (Inline elements cannot contain block elements) |
Block element inside inline element - FAIL | Block element inside inline element - FAIL |