Thursday, October 17, 2013

[Html school]How to add picture in Html page

How to add picture in Html page


When designing a website pictures are extremely important. The HTML tag for adding pictures is <img>, in addition <img> includes the determination of the attribute. These attributes are primarily src attribute, or where the image is saved, also there is attribut alt which provides an explanation picture, it is very important for SEO optimization of a website. Also it is possible to determine the height and width of an image using width and height attributes.

Example of adding pictures



<img src="picture.jpg" alt="some-picture" width="220px" height="220px">

0 comments:

Post a Comment

 

Every monday and friday new html lesson on Computershole

X