Horje
Why XHTML Attribute Minimization is Forbidden

In XHTML, attribute minimization is forbidden:


Correct:

Example: HTML
<input type="checkbox" name="vehicle" value="car" checked="checked" />
<input type="text" name="lastname" disabled="disabled" /> 

Wrong:

Example: HTML
<input type="checkbox" name="vehicle" value="car" checked />
<input type="text" name="lastname" disabled />
Reffered: https://www.w3schools.com/html/html_xhtml.asp





Related Articles
What is HTML Versus XHTML HTML vs. XHTML
What is XHTML? HTML vs. XHTML
Why XHTML? HTML vs. XHTML
What is The Most Important Differences from HTML HTML vs. XHTML
Why XHTML - <!DOCTYPE> Is Mandatory HTML vs. XHTML
Why XHTML Elements Must be Properly Nested HTML vs. XHTML
Why XHTML Elements Must Always be Closed HTML vs. XHTML
Why XHTML Empty Elements Must Always be Closed HTML vs. XHTML
Why XHTML Elements Must be in Lowercase HTML vs. XHTML
Why XHTML Attribute Names Must be in Lowercase HTML vs. XHTML
Why XHTML Attribute Values Must be Quoted HTML vs. XHTML
Why XHTML Attribute Minimization is Forbidden HTML vs. XHTML
How to Validate HTML With The W3C Validator HTML vs. XHTML

Single Articles
Correct:HTML vs. XHTML
Wrong:HTML vs. XHTML

Read Full:
HTML vs. XHTML
Category:
Web Tutorial
Sub Category:
HTML vs. XHTML
Uploaded:
11 months ago
Uploaded by:
Admin
Views:
29



Share on: