Wikipedia:Image markup with HTML
Appearance
alt text
Caption
A right-floating image with caption:
<div style="float:right;margin:0 0 1em 1em;">[[Image:image name|alt text]] ''Caption''</div>
The sunflower (Helianthus annuus) is a flower with a typically large head which turns to face the sun. (Some recently developed varieties have drooping? heads. These varieties are less attractive to gardeners growing the flowers as ornamentals, but appeal to farmers, because they may reduce bird damage and losses from some plant diseases.)
left float, no caption | <div style="float:left;margin:0 1em 1em 0;">[[image:NAME|alt text]]</div> |
right float, no caption | <div style="float:right;margin:0 0 1em 1em;">[[image:NAME|alt text]]</div> |
left float, with caption | <div style="float:left;margin:0 1em 1em 0;text-align:center;">[[image:NAME|alt text]]<br>''Caption''</div> |
right float, with caption | <div style="float:right;margin:0 0 1em 1em;text-align:center;">[[image:NAME|alt text]]<br>''Caption''</div> |
left float, with larger | <div style="float:left;margin:0 1em 1em 0;text-align:center;">[[image:SMALL|alt text]]<br>[[media:LARGE|larger version]]</div> |
right float, with larger | <div style="float:right;margin:0 0 1em 1em;text-align:center;">[[image:SMALL|alt text]]<br>[[media:LARGE|larger version]]</div> |
large central picture | <center>[[image:NAME|alt text]]<br>''Caption''</center> |