Identify the errors in HTML code.
Q11. Identify the errors in the following HTML code. Also write the correct code.
<OL> type =”a” start=”d”>
Ans. The errors are;
- OL must not be followed by ’>’ i.e., ‘>’ must follows type and start attributes.
- The start attribute should be assigned a numeric value. The code is:
<OL type=”a” start =4>.