I'm evaluating HTML editors and find that Tidy in various editors behaves differently - radically differently. And I've fussed with the settings, but the truth is that I don't really know what I'm doing.
In particular, I perfer using special characters like:
- Code: Select all
<!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></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<body>
©
&emdash;
&endash;
®
™
&
</body>
</html>
But Tidy in HTML Validator doesn't recognize &emdash; or &endash;.
In UltraEdit Tidy changes the charset:
- Code: Select all
<!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>
<meta name="generator" content="HTML Tidy for Windows (vers 12 April 2005), see www.w3.org" />
<title></title>
<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
</head>
<body>
© &emdash; &endash; ® ™ &
</body>
</html>
Messing up the em- and en-dashes.
And in HTML PAd Tidy renders the file:
- Code: Select all
<!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></title>
<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
</head>
<body>
© &emdash; &endash; ® ™ &
</body>
</html>
It also changes the charset, but renders the special characters differently.
I know that Tidy can be configured in a mirade of ways, but surely there is some best standard for average designers.
Phil