- Homepage
-
Blog roll
I'm not going to explain the benefits of XHTML, but the fact is that
more and more web designers code their templates in XHTML. Thus, IWS
users likely will encounter XHTML templates when choosing from the many
available on Internet, ready to use, free and commercial web site
templates.
IWS HTML editor used to be XHTML ignorant, but now it kindly preserves XML and DTD declarations and applies a proper minimized syntax of empty elements.
IWS HTML editor switches to XHTML mode when it finds a proper DTD declaration, so if you want to author a XHTML document, use this snippet:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>XHTML authoring</title>