Add DOCTYPE tag and modify anchors, replacing name with id to eliminate ...

...Eclipse warnings for generated HTML files