Jump to content

Wikipedia:Image markup with HTML

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Patrick (talk | contribs) at 11:25, 8 October 2003 (ft ''See also Wikipedia:Image use policy#Markup''). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

See also Wikipedia:Image use policy#Markup


The markup gallery page is still under construction.


alt text Caption

right-floating image with caption

<div style="float:right;margin:0 0 1em 1em;">[[Image:image name|alt text]]

''Caption''</div>



column of images, floated

(see Floppy disk for example)

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>