Features
XHTML vs. HTML
The technical base of MTE is a non-validating XML processor.
It supports XHTML. This version takes HTML as an XML application. Actual HTML browsers can render XML without problems.
In difference to HTML 4 and below, there are these technical restrictions:
- Closing tags must not be omitted. That means, no opening <p> without closing </p>.
- Empty tags are written with a slash before closing angle bracket, e. g. <br />, <hr />, <img />.
- The names of tags and attributes are lower case. In HTML, mixed case was allowed.
- Attribte values are written in their long form. Boolean attributes get as value their name. All values are "quoted", even numbers. Instead of <table border> which was allowed earlier, now it must be <table border="1">.
- Diffrently to HTML, it isn't any more possible to "switch off" the parser inside the elements <style>...</style> and <script>...</script>. If there is need for the characters < and &, there are these solutions:
- Put the code in an external file.
- Package the code inside the element <![CDATA[...]]>. Problem: this element is not known by the popular browsers.
The editor takes the efforts of XML-conformous notation off you as well as lower-casing of tags and attributes.
If you write the short form of an attribute, e. g. <table border|>, then the editor corrects automatically to <table border="border"> when leaving tag editing mode.
MTE © Wolf Busch 2000-2001 - letzter Stand 30.06.2001