programming-examples/css/Css Image Border.html

23 lines
440 B
HTML
Raw Permalink Normal View History

2019-11-15 12:59:38 +01:00
<html>
<head>
<title>CSS Image Border</title>
<style type="text/css">
body{
margin-left: .40in;
margin-top: .40in;
color: pink
}
img{
border-color: red;
border-style: inset;
border-width: thick;
}
</style>
</head>
<body>
<img src="http://www.happycodings.com/images/happy.gif" alt="Happy Codings" height="100" width="240" />
</body>
</html>