diff -urNp old/userguide/avstopam.html new/userguide/avstopam.html
--- old/userguide/avstopam.html	2017-09-05 13:58:08.338559550 +0200
+++ new/userguide/avstopam.html	2017-09-05 14:00:27.371039472 +0200
@@ -1,8 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<html>
 <head>
 <title>Avstopam User Manual</title>
-<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
 </head>
 
 <body>
diff -urNp old/userguide/escp2topbm.html new/userguide/escp2topbm.html
--- old/userguide/escp2topbm.html	2017-09-05 13:58:08.335559561 +0200
+++ new/userguide/escp2topbm.html	2017-09-05 14:01:20.226842694 +0200
@@ -6,6 +6,7 @@ Updated: 14 July 2015
 <BR>
 <A HREF="#index">Table Of Contents</A>
 
+<H2>NAME</H2>
 escp2topbm - convert an ESC/P2 printer file to a PBM image
 
 <H2 id="synopsis">SYNOPSIS</H2>
diff -urNp old/userguide/faxformat.html new/userguide/faxformat.html
--- old/userguide/faxformat.html	2017-09-05 13:58:08.337559553 +0200
+++ new/userguide/faxformat.html	2017-09-05 14:02:33.322571279 +0200
@@ -5,10 +5,11 @@
 Updated: 03 December 2008
 <BR>
 
+<H2>SYNOPSIS</H2>
 <p>This page, part of the <a href="index.html">Netpbm user's guide</a>,
 describes FAX formats in relation to Netpbm facilities.
 
-
+<H2>DESCRIPTION</H2>
 <p>The ITU (formerly CCITT) publishes standards for operation of fax machines
 (the idea is to provide a way to be sure that a fax machine is able to receive
 a fax sent by another).  These standards incidentally specify graphics file
diff -urNp old/userguide/pampaintspill.html new/userguide/pampaintspill.html
--- old/userguide/pampaintspill.html	2017-09-05 13:58:08.338559550 +0200
+++ new/userguide/pampaintspill.html	2017-09-05 14:03:32.625351620 +0200
@@ -1,8 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html>
 <head>
 <title>Pampaintspill User Manual</title>
-<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
 </head>
 
 <body>
@@ -11,6 +10,7 @@
 
 <p><a href="#index">Table Of Contents</a></p>
 
+<H2>NAME</H2>
 <p>pampaintspill - smoothly spill colors into the background</p>
 
 <h2><a name="synopsis">SYNOPSIS</a></h2>
diff -urNp old/userguide/pamrecolor.html new/userguide/pamrecolor.html
--- old/userguide/pamrecolor.html	2017-09-05 13:58:08.336559557 +0200
+++ new/userguide/pamrecolor.html	2017-09-05 14:04:34.714122098 +0200
@@ -1,8 +1,7 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
 <html>
 <head>
 <title>Pamrecolor User Manual</title>
-<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 </head>
 
 <body>
@@ -11,7 +10,7 @@
 
 <p>Updated: 31 July 2010</p>
 
-<p><a href="#contents">Table Of Contents</a></p>
+<p><a href="#index">Table Of Contents</a></p>
 
 
 <h2 id="name">NAME</h2>
diff -urNp old/userguide/pamsistoaglyph.html new/userguide/pamsistoaglyph.html
--- old/userguide/pamsistoaglyph.html	2017-09-05 13:58:08.334559565 +0200
+++ new/userguide/pamsistoaglyph.html	2017-09-05 14:05:25.865944327 +0200
@@ -1,8 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html>
 <head>
 <title>Pamsistoaglyph User Manual</title>
-<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
 </head>
 
 <body>
diff -urNp old/userguide/pamstereogram.html new/userguide/pamstereogram.html
--- old/userguide/pamstereogram.html	2017-09-05 13:58:08.337559553 +0200
+++ new/userguide/pamstereogram.html	2017-09-05 14:13:28.523959069 +0200
@@ -1,5 +1,5 @@
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<html>
 <head>
 <title>Pamstereogram User Manual</title>
 </head>
@@ -10,7 +10,7 @@
 
 <p>Updated: 19 June 2015</p>
 
-<p><a href="#contents">Table Of Contents</a></p>
+<p><a href="#index">Table Of Contents</a></p>
 
 
 <h2 id="name">NAME</h2>
diff -urNp old/userguide/pamtoavs.html new/userguide/pamtoavs.html
--- old/userguide/pamtoavs.html	2017-09-05 13:58:08.329559583 +0200
+++ new/userguide/pamtoavs.html	2017-09-05 14:05:49.299863901 +0200
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<html>
 <head>
 <title>Pamtoavs User Manual</title>
 <meta http-equiv="content-type" content="text/html; charset=us-ascii" />
diff -urNp old/userguide/pamtooctaveimg.html new/userguide/pamtooctaveimg.html
--- old/userguide/pamtooctaveimg.html	2017-09-05 13:58:08.335559561 +0200
+++ new/userguide/pamtooctaveimg.html	2017-09-05 14:06:21.825752356 +0200
@@ -1,8 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<html>
 <head>
 <title>Pamtooctaveimg User Manual</title>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 </head>
 
 <body>
diff -urNp old/userguide/pnmflip.html new/userguide/pnmflip.html
--- old/userguide/pnmflip.html	2017-09-05 13:58:08.336559557 +0200
+++ new/userguide/pnmflip.html	2017-09-05 14:07:15.065963977 +0200
@@ -4,9 +4,11 @@
 <BODY>
 <H1>pnmflip</H1>
 <BR>
+<H2>NAME</H2>
 <p><b>pnmflip</b> was replaced in Netpbm 10.13 (December 2002) by
 <b><a href="pamflip.html">pamflip</a></b>.
 
+<H2>DESCRIPTION</H2>
 <P><B>pamflip</b> is mostly backward compatible with <b>pnmflip</b>,
 but works on PAM images too.
 
diff -urNp old/userguide/pnmmercator.html new/userguide/pnmmercator.html
--- old/userguide/pnmmercator.html	2017-09-05 13:58:08.334559565 +0200
+++ new/userguide/pnmmercator.html	2017-09-05 14:08:08.305214742 +0200
@@ -1,7 +1,6 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
 <html>
 <head>
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
 <title>PnmMercator User Manual</title>
 </head>
 <body>
diff -urNp old/userguide/ppmtogif.html new/userguide/ppmtogif.html
--- old/userguide/ppmtogif.html	2017-09-05 13:58:08.337559553 +0200
+++ new/userguide/ppmtogif.html	2017-09-05 14:09:51.450583126 +0200
@@ -4,11 +4,14 @@
 <BODY>
 <H1>ppmtogif</H1>
 <BR>
+<H2>NAME</H2>
 <p><b>ppmtogif</b> was replaced in Netpbm 10.37 (December 2006) by
 <b><a href="pamtogif.html">pamtogif</a></b>.
 
+<H2>SYNOPSIS</H2>
 <P><B>pamtogif</b> is mostly backward compatible with <b>ppmtogif</b>.
 
+<H2>DESCRIPTION</H2>
 <P>One way <b>pamtogif</b> is not backward compatible with <b>ppmtogif</b>
 is that to specify a transparency (alpha) mask with <b>ppmtogif</b>, you
 supply the transparency as a separate pseudo-PGM image and use the
