Alright, so i'm trying to make a mobile website (since it's mobile, it has to be in XHTML), and when i ran it through an online XHTML validator (to see if it's coded properly), i got this funky error that i don't get (i'm a newb, remember):
document type does not allow element "img" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "address", "fieldset", "ins", "del" start-tag
The code for the error was this:
<img src="images/logo4.jpg" alt="Sentex Data Communications"</img>
I bolded and enlarged the part that the validator underlined as having an error. Any guidance? Oh, and although I'd love the solution, an explanation would be nice too, so i don't make the mistake again. Thanks =)
document type does not allow element "img" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "address", "fieldset", "ins", "del" start-tag
The code for the error was this:
<img src="images/logo4.jpg" alt="Sentex Data Communications"</img>
I bolded and enlarged the part that the validator underlined as having an error. Any guidance? Oh, and although I'd love the solution, an explanation would be nice too, so i don't make the mistake again. Thanks =)