IMG
The IMG element allows an image to be
inserted within an HTML document. The purpose
is to allow pictures to be included within a
document and presented with the text, as opposed
to having hypertext links that retrieve and display
images in a separate viewing window.
This element can not be used to include
other HTML text within a given document.
Images can be included within a hypertext anchor:
thus you can make an image icon behave as a button to
access other documents.
Example
<IMG SRC="http://foo.org.com/pics/pic.gif">
Content
- Tag Minimization
-
Open Tag: REQUIRED
Close Tag: OPTIONAL
See ATTRIBUTES
Empty CONTENT DECLARATION
Parent Elements
- a -- Anchor; source and/or destination of a link
- address -- Address, signature, or byline for document or passage
- b -- Bold text
- blockquote -- Quoted passage
- body -- Document body
- cite -- Name or title of cited work
- code -- Source code phrase
- dd -- Definition of term
- dt -- Term in definition list
- em -- Emphasized phrase
- form -- Fill-out or data-entry form
- h1 -- Heading, level 1
- h2 -- Heading, level 2
- h3 -- Heading, level 3
- h4 -- Heading, level 4
- h5 -- Heading, level 5
- h6 -- Heading, level 6
- i -- Italic text
- kbd -- Keyboard phrase, e.g. user input
- li -- List item
- p -- Paragraph
- samp -- Sample text or characters
- strong -- Strong emphasis
- tt -- Typewriter text
- var -- Variable phrase or substitutable
Top Element List
All Element List
Tree
HTML 2.0 DTD