pdxsherpa — 2014-03-07T14:32:56-05:00 — #1
I am finding
<img src="whatever/whatever.jpg" />
both works. but which one is the correct one w/the "/" or without it?
thank you all.
rubble — 2014-03-07T14:42:15-05:00 — #2
It depends on your doctype, the first one is for a XHTML doctype and the second is for an HTML.
pdxsherpa — 2014-03-07T15:46:38-05:00 — #3
Thank you, I didn't know that.
I am finding both on this html page, not sure if it would be best to leave them all alone, is there an opinion or bkm on this?
rubble — 2014-03-07T15:58:13-05:00 — #4
You will get errors if you run your page through a validator but I do not think it will effect the page. Personally I would change them and it should not take long with a copy and paste.
pdxsherpa — 2014-03-07T16:00:04-05:00 — #5