Hi all. Brand new to website design and I' having issues resolving some W3 validation messages. I was hoping someone here could help.
First... Here is the code in question:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<img src="gun.jpg" alt="Great guns at great prices!" style="margin: auto;" >
<title> Rick's Guns and Ammo</title>
<link rel="stylesheet" href="rga.css" type="text/css" >
The error I get with the highlighted text says: "document type does not allow element "IMG" here".
If I do anything to change that image (short of deleting it altogether), I lose all of my graphics including my background!
Can anyone tell me how to fix this??