Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

insert image html

<!--If the image is in the same folder as the HTML file-->
<!--Always add the image type (png; jpg; etc)-->
<img src="your-image.png" alt="Description of the image" width="Width you want your image to be" height="Height you want your image to be">

<!--If the image is in a diffrent folder than the HTML file-->
<!--Always add the image type (png; jpg; etc)-->
<img src="../path to image folder/image folder/your-image.png" alt="Description of the image" width="Width you want your image to be" height="Height you want your image to be">

<!--How this works-->
<!-- src - Path to the image -->
<!-- alt - if the image doesn't load this is shown instead of it -->
<!-- width - Width of the image -->
<!-- height - Height of the image -->
 
PREVIOUS NEXT
Tagged: #insert #image #html
ADD COMMENT
Topic
Name
8+4 =