Forum Moderators: open
<?xml version="1.0" encoding="iso-8859-1"?>
<!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">
When I begin my document with the following code it validates:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
I doubt google would provide code that does not validate, so I suspect I have done something wrong. If you agree that my assumption is reasonable, I will try to figure out what that is.
So, I guess, if I want to use the adsense, I just switch to XHTML 1.0 Transitional.
iframe, which won't. The "error" is inconsequential, so just ignore it (of use Transitional if you really can't face having the error).
Nothing related to the doctype will have any effect on indexing.