1 Noticing HTML, XHTML errors Sat Dec 17, 2011 5:10 pm
Ryan
Member
- Code:
<img src=""> surely you'd need to close this <img src=""></img> or you can do it the short hand way
<img src="" /> there will be no errors from either of these but all in all the correct way to close a tag is using the official ending to close the tag </img>.
Many people have also said that you need an ALT tag to actually make it work, this is NOT true, it sure is good to use it but it is not required.
this applies to every html tag! <input></input><form></form> etc...
SYNTAX like editing is the best, notepad++ = win