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;

  1. OL must not be followed by ’>’ i.e., ‘>’ must follows type and start attributes.
  2. The start attribute should be assigned a numeric value. The code is:

<OL type=”a” start =4>.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: