Inserting a graphic on a Web page is as simple as placing an <img> tag where you want the graphic to appear, like this:
HTML5 also supports a <figure> tag for inserting images that is discussed later in this chapter on Including Alternate Text for Graphics. However <figure> is not a replacement for the <img> tag; it’s a container tag into which you place an <img> tag. You can then use the <figurecaption> tag to assign a caption to the figure; the caption stays with the image wherever it floats on the page.
As you saw in Chapter 5, when a file resides in the same folder as the HTML document that references it, you can refer to that file using the file name only, without any additional path information. If ...