Tags
HTML , img
Asked 2 years ago
20 May 2022
Views 903
kord

kord posted

html validator Errror : Stray start tag “img

i get the following error for the w3c validator test :

Error: Stray start tag img.
From line 749, column 84; to line 749, column 141
i=index" ><img src="img path here" alt="en" /></opti

how to solve this problem with img tag?
duglus

duglus
answered May 31 '22 00:00

either <img tag had wrong format.
or you put <img in the wrong parent element so try to change the place of an image tag
Post Answer