Forum Moderators: open
<!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">
<head>
<meta name="Author" content="Business Name"/>
<meta name="Keywords" content="word, a phrase, word"/>
<meta name="Description" content="A sentence of description here."/>
<meta name="Expires" content="NEVER"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" type="text/css" href="http://www.example.com/style.css"/>
<title>Business Name</title>
[edited by: tedster at 4:04 am (utc) on June 3, 2004]
[edit reason] remove specifics [/edit]
Then why would it put the following in my source code.
What is it? A WYSIWYG editor, like FrontPage or Dreamweaver?
meta name, not META NAME or Meta name. You also had some double equal signs (==), and I'm guessing the "Business name" tag was for defining the author. Finally, as others have mentioned, it is best to leave a space before the trailing slash. Try this (I've tidied things up and changed the order a bit): <!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" lang="en" xml:lang="en">
<head>
<title>Business Name</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="author" content="Business Name" />
<meta name="keywords" content="word, a phrase, word" />
<meta name="description" content="A sentence of description here." />
<meta name="Expires" content="NEVER" />
<meta name="DC.Title" content="whatever" />
<meta name="DC.Subject" content="whatever" />
<meta name="DC.Description" content="whatever" />
<link rel="stylesheet" type="text/css" href="/style.css" />
</head>
<body>
<p>content here</p>
</body>
</html>