Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Is Wrong with My "checked" Attribute Values
What Is Wrong with My "checked" Attribute Values? - XHTML Tutorials - Introduction To Tag and Attribute Syntax
✍: FYIcenter.com
Attribute "checked" is an optional attribute for XHTML element "input". In XHTML specification, attribute "checked" has only predefined value: "checked". However, in HTML specification, attribute "checked" requires no value.
If you are converting existing HTML documents to XHTML format, you will get some syntax error on your pre-selected items in radio buttons, check boxes and dropdown lists, "checked" attributes are used without any values.
Here are some interesting examples of "checked" attributes:
2007-05-12, 5798👍, 0💬
Popular Posts:
What is cross page posting? By default, button controls in ASP.NET pages post back to the same page ...
What is difference between Association, Aggregation and Inheritance relationships? In object oriente...
If we inherit a class do the private variables also get inherited ? Yes, the variables are inherited...
when should the volatile modifier be used? The volatile modifier is a directive to the compiler's op...
How do you override a defined macro? You can use the #undef preprocessor directive to undefine (over...