Many folks are trying out the new iWeb application, a WYSIWYG editor for web pages that is new to the Apple iLife '06 suite. And it seems many are walking away not impressed with the quality of HTML markup generated.
Many, like John Gruber for instance, point out that, hey, at least it validates as HTML. This is in fact a significant improvement over the famously terrible markup generated by Microsoft Word, and over the standard of WYSIWYG editors in general. Generating halfway decent HTML markup from an WYSIWYG editor is apparently a very difficult task, as evidenced by the number of implementations that generate tag soup. However the pundits say that the redundancy and ugliness of the code can be expected to improve in subsequent releases and I agree.
However when it comes to generating the tags that correctly reflect the intended semantics, I say that this is a task which is beyond the capabilities of a WYSIWYG editor. Without wishing to repeat an already belaboured argument, let me just propose a thought experiment.
[Read more →]