|
-
Apr 18th, 2013, 10:21 AM
#1
[RESOLVED] html vs xhtml and using readonly
So - I've got input boxes that I make readonly like this
<input readonly type="text" class="awc-Refunds acs-edit-medium-text"/>
Been using these for a few months with no issues.
I just noticed that it's telling me in the IDE:
Validation (XHTML 1.0 Transitional): This attribute name must be followed by an equal (=) sign and a value. If the value is in quotation marks, the quotation marks must match.
Looking around the web I see that XHTML requires this to be
<input readonly="readonly" type="text" class="awc-Refunds acs-edit-medium-text"/>
Any problems with me changing this to the proper XHTML format.
I looked into the difference between HTML and XHTML - seems it's just evolving standards.
Is that all there is to it? Am I going to get burned by changing this??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|