Include images in document in HTML and CSS

Description

The following code shows how to include images in document.

Example


<!-- w  w  w . j a v a 2  s.co  m-->
<!DOCTYPE HTML>
<html>
<body>
<p>
An image:
<img src="http://java2s.com/style/download.png"/>
</p>
</body>
</html>

Click to view the demo

The code above generates the following result.

Include images in document in HTML and CSS