id
attribute replaces the name
attribute.Wrong | Correct |
---|---|
<table WIDTH="100%"> |
<table width="100%"> |
Wrong | Correct |
---|---|
<table width=100%> |
<table width="100%"> |
Wrong | Correct |
---|---|
<input checked> <input readonly> <input disabled> <option selected> <frame noresize> |
<input checked="checked" /> <input readonly="readonly" /> <input disabled="disabled" /> <option selected="selected" /> <frame noresize="noresize" /> |
HTML | XHTML | HTML | XHTML | HTML | XHTML | ||
---|---|---|---|---|---|---|---|
compact | compact="compact" | checked | checked="checked" | declare | declare="declare" | ||
readonly | readonly="readonly" | disabled | disabled="disabled" | selected | selected="selected" | ||
defer | defer="defer" | ismap | ismap="ismap" | nohref | nohref="nohref" | ||
noshade | noshade="noshade" | nowrap | nowrap="nowrap" | multiple | multiple="multiple" | ||
noresize | noresize="noresize" |