Web Perschon

HTML Image Tag


• Image Tag Syntax
<img src="path/of/image" alt="alternate text">
alt is the alternate text when the image is not shown.

• Image Alignment with Text
<img align=> //top,middle,bottom
If the text is not going to show side by side with the image, just put a <br> after the image.

• Image Border
<img src=URL border=>

• Image Size
<img src=URL height=value width=value>

<img src="pic/img.png" \> PHP Tutorial
PHP Tutorial

<img src="pic/img.png" align=middle \> PHP Tutorial
PHP Tutorial

<img src="pic/img.png" align=middle border=4 height=70 width=100 \> PHP Tutorial
PHP Tutorial

<a href="http://https://convert.idontcarewhatyouthink.net/program/php/"><img src="pic/img.png" align=middle border=4 height=70 width=100 \></a><br>Image as a hyperlink to the PHP tutorial.

Image as a hyperlink to the PHP tutorial.