HTML Export - file path problems

When I export HTML on OS X 10.11.1, the HTML isn’t standard compliant. Why? Example:

Secondly, why does the img tag source the file with a full local file path? I want to put this up on a server, which of course doesn’t work when paths are hard coded.

Thank you. Where does this file live? And is there documentation anywhere about this?