Usage of border property with CSS

The border property is used to set the width of an image border. This property can have a value in length or in %. A width of zero pixels means no border.


You can try to run the following code to set the width of image border:

      <img style = "border:0px;" src = "/css/images/logo.png" />
      <br />
      <img style = "border:4px dashed green;" src = "/css/images/logo.png" />
karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know