help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML and CSS in Emacs


From: Joe Snikeris
Subject: Re: HTML and CSS in Emacs
Date: Sat, 12 Mar 2011 12:35:54 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Alexander Stepanov <darkdrip@gmail.com> writes:

> I looked at nxml one more time. It has completion of closing tags.
> This is a good news for me. And bad news is that nxml does not have
> intellisense if html file don't have xhtml declaration. There are a
> lot of xml files which begin just with "<html>" and do not have a
> doctype.

Check out nxhmtl-mode:

http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html

"For files mixing XHTML with codes, like PHP, you can use something I call 
Fictive XHTML Validation Headers. That allows you to use XHTML completion even 
if those files does not have the XHTML headers needed."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]