Quote:
Originally Posted by dbird
Are you sure? When I use the calibre "Insert Image" button, all it inserts is: <img alt="Image" src="images/00004.png" />. No block level tags.
|
Semantically, an image is nothing more than an alternate representation of the text equivalent (the "alt" attribute of the image), thus it needs to be contained within the same type of block that text is contained within: either <p> or <div>.
The fact that browsers (and book readers) will in reality display images that are not contained within blocks shouldn't be taken as a reason not to put them in blocks. The easiest thing to do is just to surround the image with <div> ... </div> tags.