diff --git a/Tools/AGSHtml.m b/Tools/AGSHtml.m
index 14e94851b..b6f5cbf92 100644
--- a/Tools/AGSHtml.m
+++ b/Tools/AGSHtml.m
@@ -432,11 +432,8 @@ static NSMutableSet *textNodes = nil;
/* Declaration */
[buf appendString: @"\n"];
- [buf appendString: @"\n"];
+ [buf appendString: @"\"-//W3C//DTD HTML 4.01//EN\"\n"];
+ [buf appendString:@"\"http://www.w3.org/TR/html4/strict.dtd\">"];
[self incIndent];
[self outputNodeList: node to: buf];