Leonard Rosenthol on Wed, 22 Nov 2000 11:18:04 -0500


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

Re: [PLUG] emacs html mode


On Tue, Nov 21, 2000 at 11:54:56AM -0500, Jeff Abrahamson wrote:
 The functions in emacs' html mode generally insert both open and close
 tags. An exception is html-paragraph (C-c RET), which only inserts <p>
 (no close tag).

 Is there some reason emacs doesn't insert close paragraph tags? I
 thought html required them and browsers just ignored their absence.

Closing p tags are optional according to the HTML 4.01 spec. See http://www.w3.org/TR/html4/struct/text.html#h-9.3.1 for more information.

HOWEVER, they are required as part of the XHTML (aka HTML 5) specification, now that HTML is based on XML which requires matched tag pairs.


Leonard -- ---------------------------------------------------------------------------- You've got a SmartFriend? in Pennsylvania ---------------------------------------------------------------------------- Leonard Rosenthol Internet: leonardr@lazerware.com America Online: MACgician Web Site: <http://www.lazerware.com/> FTP Site: <ftp://ftp.lazerware.com/> PGP Fingerprint: C76E 0497 C459 182D 0C6B AB6B CA10 B4DF 8067 5E65


______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug