Example :
This code below :
will produce this image :
And by setting the width and the height, this code below :
will produce this smaller image :
And don't forget to always include alt attribute for your each image code, because it is used to define an alternate text for your image. So, if your image is not loaded properly, then the browser will display your alternate text instead of your image. And here is how to include alt attribute to an image :
By including that alt attribute, if the image is not loaded properly, anyone then will see a text : Dee - About Lifes, instead of the image.
0 comments:
Post a Comment