I am using nxml mode for editing XHTML. However, this does not work well for HTML4 documents whose tags do not need to be closed. Has anyone found a good Emacs mode for editing these files?
Document example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-gb">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Test</title>
</head>
<body>
</body>
</html>
source
share