Question Authoring HTML5 in Emacs? talks about nxml-mode but, from what I read, that can only be used for XHTML5, I want to use emacs with HTML5 (no XML syntax). Is there any mode with auto-indentation, tag/attribute completion, etc.?
Sadly, the answer to that question is no at the moment. However HTML5 emerged relatively soon, so some Emacs support will certainly come up in the (not so)near future. XHTML 5 might seems to be a reasonable compromise at this point.
HTML5 can be written in either HTML or XHTML syntax (I know! Freaky!). So nxml-mode/nxhtml-mode work well if you prefer the latter style. I have not heard whether HTML or XHTML is considered "more correct" or a "better practice".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With