Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials Image Borders

Image Borders


Do you want a border around your image? Copy the code below. You can change the HEX code (#000000) to whatever colour you want. If you wanted a white border, you could change it to #FFFFFF. You can also change the width of the border, by changing 1px to 2px, 3px, and so on.

<img src="/img_articles/1403/IMAGEURL.jpg" style="BORDER:1px SOLID #000000">

Example

Image Borders



Author's URL: Lindsay Coome
Learn HTML step-by-step from A to Z or improve your professional skills. More Tutorials: Featured Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com


Like us to: