How to insert an image into a web page with HTML/XHTML

The code below shows you how to insert an image into a web page with HTML.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title>Web Development Tutorials.com</title>
</head>
<body>
<p>
<img src="imagewebdevelopmenttutorials1w244h33.jpg "border="0" width="244" height="33" atl="some text" />
</p>
</body>
</html>

The code above inserts the image below.

Use the text editor below to practice what you have learned.

You can use the image file "imagewebdevelopmenttutorials1w244h33.jpg" to practice inserting an image into a web page.

Free Website Templates

Free Web Tools

Recommended Websites