Continue

 Set Image Border

By default, image will have a border around it, you can specify border thickness in terms of pixels using border attribute. A thickness of 0 means, no border around the picture.

Example

<!DOCTYPE html>

<html>

<head>

<title>Set Image Border</title>

</head>

<body>

<p>Setting image Border</p>

<img src="cat.png" alt="Cat Image" border="3"/>

</body>

</html>

This will produce the following result:

Setting image Border

 



Comments

Popular Posts