Supported HTML 4.01 Attributes
The JSP actions in the JSF HTML tag library support most attributes that the HTML 4.01 specification declares for the corresponding HTML elements. The individual action descriptions include the supported HTML 4.01 attributes in the syntax section but not in the attributes table. These attributes are instead described in Table A-2. All these attributes are optional and can be set to static values or using any type of JSF EL expression.
|
Attribute name |
Java type |
Description |
accept |
String |
A comma-separated list of content types the server that processes the form handles correctly. |
acceptcharset |
String |
Corresponds to the HTML |
alt |
String |
Alternative text that may be used by a browser that can’t show the element (e.g., text-to-speech browser). |
bgcolor |
String |
Deprecated. The background color for the document body or table cells. |
border |
String |
The number of pixels for the frame around a table. |
cellpadding |
String |
The amount of space between cell borders and the cell content, in pixels or a percentage of the space available. |
cellspacing |
String |
The amount of space between cells and the table frame, in pixels or a percentage of the space available. |
charset |
String |
The character encoding of the target resource. |
coords |
String |
A comma-separated ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access