In html document, images are added via img element where the src attribute contains the url to the image path.
<img src=”image.jpg”>
There are different types of image format like jpg, png, gif, bmp etc.
There is a attribute called “alt” which is used to give alternate information about the image or in case if image is missing.
<img src=”image.jpg” alt=”Flower image”>
You can change the height or width of the image using height and width attribute:
<img src=”image.jpg” alt=”Flower image” width=”40″ height=”30″>
To align image to right or left or other options use align attribute:
<img src=”image.jpg” alt=”Flower image” align=”right”>
Most small brands spend a lot of energy improving digital touchpoints. They refine their websites,…
Not every dog is friendly, and even friendly dogs can attack when threatened or provoked.…
Pressure cookers have become a favored kitchen appliance because they can quickly and efficiently cook…
Shopify has quickly become the preferred platform for businesses seeking to build an online presence.…
We all know that Instagram is a very famous social platform that attracts more and…
Glass at height is easy to overlook, in both senses. It is out of reach,…