This is a nice question; I even voted 5, even though you could figure the answer by yourself.
It looks like there is no such feature, which I think would be great to have. This W3 document on HTML5 (latest HTML version) even states specifically:
src = non-empty URL potentially surrounded by spaces
A URL referencing a non-interactive, optionally animated, image that is neither paged nor scripted.
—SA