|
WYS Is
not always WYG
One of the major disadvantages of HTML editors, is
that the results you get in the editor's WYSIWYG window, aren't
always the same as the results you expect to get and see in browsers.
For example, let's say you place an image in the center
of your WYSIWYG window (let's use FrontPage 98). After you load
Internet Explorer and Netscape Navigator, you realize that the image
you created (which by the way was centered in your HTML editor's
WYSIWYG window) is aligned to the left in IE and it's aligned to
the right in Navigator. See for yourself.
|
HTML
Editor
|
Browser
|
Browser
|
| |
|
|
|
|
As you can see, the way web pages are presented in
browsers varies by browser. Part of this problem is caused by browsers.
As you might know, browsers do not adhere 100% to the standards
set by organizations such as the W3C.
Most of the time though, it's the HTML editor's fault.
Most HTML editors, tend to add extra code to the web pages you create.
This in turn, causes browsers to interpret web pages differently.
For example, let's say that you wrote the following
code in a web page.
<p align="center">An example
An HTML editor like FrontPage 98, will add the following extra
code.
<p><p align="center">An example</p>
By itself, this extra code won't do much harm, but think of all
the mayhem it could cause if you created tables, frames, forms,
etc.
Even with this kind of flaw, HTML or WYSIWYG editors, are still
the tool of choice for many web builders. I guess a little extra
code is a small price to pay for the many benefits you'll reap from
using such editors. Just remember, What You See Is not always What
You Get.
Back
to the intro
|