This page tests AWeb's compatibility with the HTML 4.0 standard (W3C Recommendation, December 1997). Each section demonstrates supported features and clearly marks incompatibilities or limitations based on the AWeb documentation.
FORM with METHOD, ACTION, TARGET, ENCTYPE attributes - Fully supported (see html-ej.html#FORM)
INPUT types: text, password, hidden, checkbox, radio, submit, reset, button, file - All supported (see html-ej.html#INPUT)
SELECT with NAME, MULTIPLE, SIZE attributes - Fully supported (see html-ks.html#SELECT)
OPTION with VALUE, SELECTED attributes - Fully supported (see html-ks.html#OPTION)
TEXTAREA with NAME, ROWS, COLS attributes - Fully supported (see html-tz.html#TEXTAREA)
BUTTON element with TYPE attribute - Fully supported in strict mode (see html-ad.html#BUTTON)
Test Examples
Test 1: Form with TARGET Attribute
What it tests: FORM element with TARGET attribute to submit form results to a specific frame or window.
How to run: Fill out the form below and click Submit. The result should open in a new window or the specified target frame.
Expected results: The form should submit to test.cgi and display results in a new window (TARGET="_blank") or the specified frame.
Test:
Test 2: Form with NAME Attribute
What it tests: FORM element with NAME attribute for JavaScript access.
How to run: This form has a NAME attribute that allows JavaScript to access it via document.forms['namedform'].
Expected results: The form should be accessible via JavaScript using document.forms['namedform'] or document.forms[0].
Test:
Test 3: BUTTON Element (HTML 4.0)
What it tests: BUTTON element with TYPE="submit", TYPE="reset", and TYPE="button" attributes. This is an HTML 4.0 feature that provides more flexibility than INPUT buttons.
How to run: Click each button below to test their functionality.
Expected results: Submit button should submit the form. Reset button should clear form fields. Button element should trigger any ONCLICK handler but not submit the form.
Test:
Test 4: All INPUT Types
What it tests: All supported INPUT types: text, password, hidden, checkbox, radio, submit, reset, button, and file.
How to run: Interact with each input type below. Try typing in text fields, selecting checkboxes/radios, clicking buttons, and selecting a file.
Expected results: All input types should display and function correctly. Text fields should accept input, checkboxes/radios should toggle, buttons should work, and file input should open a file requester.
Test:
Test 5: SELECT with SIZE Attribute
What it tests: SELECT element with SIZE attribute to control whether it displays as a dropdown (SIZE=1 or omitted) or a list box (SIZE>1).
How to run: Compare the two select elements below - one is a dropdown, the other is a list box.
Expected results: The first SELECT should display as a dropdown menu. The second SELECT with SIZE="3" should display as a list box showing 3 options at once.
Test:
Test 6: SELECT with MULTIPLE Attribute
What it tests: SELECT element with MULTIPLE attribute for selecting multiple options simultaneously.
How to run: Hold Ctrl (or Cmd on Mac) and click multiple options in the list below.
Expected results: You should be able to select multiple options by holding Ctrl/Cmd while clicking. Selected options should be highlighted.
Test:
Test 7: TEXTAREA with ROWS and COLS
What it tests: TEXTAREA element with ROWS and COLS attributes to control the visible size of the text area.
How to run: Type multiple lines of text in the textarea below. Try pressing Enter to create new lines.
Expected results: The textarea should display with the specified number of rows and columns. It should be scrollable if content exceeds the visible area. Line breaks should be preserved.
Test:
Test 8: Comprehensive HTML 4.0 Form
What it tests: A complete HTML 4.0 form with all supported elements and attributes working together, including FORM TARGET, NAME, BUTTON elements, and all input types.
How to run: Fill out all fields in the comprehensive form below, then test Submit, Reset, and Button elements.
Expected results: All form elements should work correctly. Submit should send all form data. Reset should clear all fields. The form demonstrates all HTML 4.0 form capabilities supported by AWeb.
Test:
Not Supported
INPUT TYPE="image" - Not documented in AWeb HTML reference
LABEL element - Not documented in AWeb HTML reference
FIELDSET and LEGEND - Not documented in AWeb HTML reference
OPTGROUP element - Not documented in AWeb HTML reference