Any advice welcome. I am trying to learn valid (rather than seat-of-the-pants) html using strict 1.0 xhtml. Looks fine in browser but W3C validator says:
"No Character Encoding Found! Falling back to UTF-8. I was not able to extract a character encoding labeling from any of the valid sources for such information. Without encoding information it is impossible to reliably validate the document. I'm falling back to the "UTF-8" encoding and will attempt to perform the validation, but this is likely to fail for all non-trivial documents."
Here is the html for the head:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset-iso-8859-1" />
<title>Information for sale in the information age</title>
<style type="text/css">
body { background-color: #FFFFFF;
color: #000000; margin-top: 2em; margin-left: 10%; margin-right: 10%;
font-family: Garamond, "Times New Roman", serif; line-height: 2em; }
h1, h3 {font-family: Arial, Verdana, sans-serif; padding: .3em; color: #000080; }
h1 { margin-left: -8%; font-size: 1.75em; }
h2 { font-family: Garamond, "Times New Roman", serif; font-size: 1.5em; margin-left: -4%; }
h3 { font-size: 1.25em; margin-left: -4%; }
h4 { font-size: .75em; margin-left: -8%; }
hr { width: 100%; color: #000080; }
</style>
</head>
Thanks,
Kathy
"No Character Encoding Found! Falling back to UTF-8. I was not able to extract a character encoding labeling from any of the valid sources for such information. Without encoding information it is impossible to reliably validate the document. I'm falling back to the "UTF-8" encoding and will attempt to perform the validation, but this is likely to fail for all non-trivial documents."
Here is the html for the head:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset-iso-8859-1" />
<title>Information for sale in the information age</title>
<style type="text/css">
body { background-color: #FFFFFF;
color: #000000; margin-top: 2em; margin-left: 10%; margin-right: 10%;
font-family: Garamond, "Times New Roman", serif; line-height: 2em; }
h1, h3 {font-family: Arial, Verdana, sans-serif; padding: .3em; color: #000080; }
h1 { margin-left: -8%; font-size: 1.75em; }
h2 { font-family: Garamond, "Times New Roman", serif; font-size: 1.5em; margin-left: -4%; }
h3 { font-size: 1.25em; margin-left: -4%; }
h4 { font-size: .75em; margin-left: -8%; }
hr { width: 100%; color: #000080; }
</style>
</head>
Thanks,
Kathy