Do you remember to close quotations of all your HTML attributes?
13/08/2016 6:50 AM by
It is always better to make sure there are equivalent closing quotations for HTML attributes. A small mistake of missing a quotation could lead to undesired results on the web page.
<span style="font-size:12pt; background: #ccc;> Figure: Bad code - Can you see the missing quote? Code Auditor can
<span style="font-size:12pt; background: #ccc;">Figure: All OK
As you can see from the above example, just missing a quotation makes the whole layout of the text different. So be very careful that you make sure you have closed all opening quotations of attributes with equivalent closing quotations.
We have a program called SSW Code Auditor to check for this rule.
Do you feel this rule needs an update?