<body>
<img
src="http://www.web.address/ofPic.jpg">
(NOTE: single tag, with no end tag)
<img
src="localPic.jpg">
(for picture in same folder as current page)
<a
href="http://www.web.address/ofLink">link
text</a>
(will go to the top of that page)
<a
href="localPage.html">link
text</a>
(for page in same folder as current page)
Linking to a target within a page:
<h2 id="idName">...</h2>
(any tag with an id can be a link target)
<a
href="#idName">link
text</a>
(will go to tag with that id in the current page)
<a
href="URL#idName">link
text</a>
(will go to tag with that id in the URL page)
Example:
<a href="#Format">link</a> is
a link to the "Formatting & Structure tags"
heading on this page, whose id attribute is
"Format".
Note: src, href, and id are tag "attributes" -- values that modify the way a tag works. An id associated with a tag must be unique within that page.
</body>