What is the best Emacs mode for strict HTML 4.01 editing?

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>
+3
source share
2 answers

I find that the html mode works quite well. You can also consider html-helper-mode, which has a lot more features than regular html mode.

+2
source

html-helper-mode , html-, html-helper-mode , . html-.

0

Source: https://habr.com/ru/post/1704529/


All Articles