HTML editor

HTML editor

An HTML editor is a software application for creating web pages. Although the HTML markup of a web page can be written with any text editor, specialized HTML editors can offer convenience and added functionality. For example, many HTML editors work not only with HTML, but also with related technologies such as CSS, XML and JavaScript or ECMAScript. In some cases they also manage communication with remote web servers via FTP and WebDAV, and version management systems such as CVS or Subversion.

Types

There are various forms of HTML editors: text, object and WYSIWYG (What You See Is What You Get) editors.

Object editors

Some editors allow alternate editing of the source text of objects in more visually organized modes than simple color highlighting, but in modes not considered WYSIWYG. Some WYSIWYG editors include the option of using palette windows that enable editing the text-based parameters of selected objects. These palettes allow either editing parameters in fields for each individual parameter, or text windows to edit the full group of source text for the selected object. They may include widgets to present and select options when editing parameters. Adobe GoLive provides an outline editor to expand and collapse HTML objects and properties, edit parameters, and view graphics attached to the expanded objects.

WYSIWYG HTML editors

WYSIWYG HTML editors provide an editing interface which resembles how the page will be displayed in a web browser. Some editors, such as ones in the form of [https://addons.mozilla.org/en-US/firefox/search?q=wysiwyg&status=4 browser extensions] allow editing within a web browser. Because using a WYSIWYG editor does not require any HTML knowledge, they are easier for an average computer user to get started with.

The WYSIWYG view is achieved by embedding a layout engine based upon that used in a web browser. The layout engine will have been considerably enhanced by the editor's developers to allow for typing, pasting, deleting and moving the content. The goal is that, at all times during editing, the rendered result should represent what will be seen later in a typical web browser.

While WYSIWYG editors make web design faster and easier; many professionals still use text editors, despite the fact that most WYSIWYG editors have a mode to edit HTML code by hand. The web was not originally designed to be a visual medium, and attempts to give authors more layout control, such as CSS, have been poorly supported by major web browsers. Because of this, code automatically generated by WYSIWYG editors frequently sacrifice file size and compatibility with fringe browsers, to create a design that looks the same for widely used desktop web browsers. This automatically generated code may be edited and corrected by hand. For more on subject, "see Difficulties in achieving WYSIWYG below." [ [http://www.wpdfd.com/editorial/wpd0902.htm#feature WPDFD Issue #54 - September 01, 2002 | Web Page Design for Designers © ] ] [ [http://www.wpdfd.com/editorial/wpd0804news.htm WPDFD Issue #77 - August 01, 2004 | Web Page Design for Designers © ] ] [ [http://www.wpdfd.com/editorial/wpd1004review.htm WPDFD Issue #79 - October 01, 2004 | Web Page Design for Designers © ] ]

WYSIWYM editors

What You See Is What You "Mean" (WYSIWYM) is an alternative paradigm to the WYSIWYG editors above. Instead of focusing on the "format" or presentation of the document, it preserves the intended "meaning" of each element. For example, page headers, sections, paragraphs, etc. are labeled as such in the editing program, and displayed appropriately in the browser.

Valid HTML code

HTML is a structured markup language. There are certain rules on how HTML must be written if it is to conform to W3C standards for the World Wide Web. Following these rules means that web sites are accessible on all types and makes of computer, to able-bodied and people with disabilities, and also on wireless devices like mobile phones and PDAs, with their limited bandwidths and screen sizes.

Unfortunately most HTML documents on the web are not valid according to W3C standards. According to [http://elsewhat.com/thesis/ one study] only about 1 out of 141 is valid. Even those syntactically correct documents may be inefficient due to an unnecessary use of repetition, or based upon rules that have been deprecated for some years.Current W3C recommendations on the use of CSS with HTML were first formalised by W3C in 1996 [ [http://www.w3.org/TR/CSS1 Cascading Style Sheets, level 1 ] ] and have been revised and refined since then. See CSS, XHTML, [http://www.w3.org/TR/CSS21/ W3C's current CSS recommendation] and [http://www.w3.org/TR/xhtml11/ W3C's current HTML recommendation] .

These guidelines emphasise the separation of content (HTML or XHTML) from style (CSS). This has the benefit of delivering the style information once for a whole site, not repeated in each page, let alone in each HTML element. WYSIWYG editor designers have been struggling ever since with how best to present these concepts to their users without confusing them by exposing the underlying reality. Modern WYSIWYG editors all succeed in this to some extent, but none of them has succeeded entirely.

People who use text editors can generally fix such problems immediately, once they become aware of them.People find it frustrating when such errors come from WYSIWYG editors.

However a web page was created or edited, WYSIWYG or by hand, in order to be successful among the greatest possible number of readers and viewers, as well as to maintain the 'worldwide' value of the Web itself it can be argued that, first and foremost, it should consist of valid markup and code. Some would argue that it should not be delivered by a designer to his or her customer, and not be considered ready for the World Wide Web, until its HTML and CSS syntax has been successfully validated using either the free W3C validator services ( [http://validator.w3.org/ W3C HTML Validator] and [http://jigsaw.w3.org/css-validator/ W3C CSS Validator] ) or some other trustworthy alternatives.

Others would argue [http://foad.org/~abigail/WWW/dream.html] that publishing useful information or profitable content as soon as possible should be first and foremost.

Whatever software tools are used to design, create and maintain web pages, there is little doubt that the quality of the underlying HTML is dependent on the skill of the person who works on the page. Some knowledge of HTML, CSS and other scripting languages as well as a familiarity with the current W3C recommendations in these areas will help any designer produce better web pages, with a WYSIWYG HTML editor and without [ [http://www.w3.org/MarkUp/Guide/ Dave Raggett's Introduction to HTML ] ] .

Difficulties in achieving WYSIWYG

A given HTML document will have an inconsistent appearance on various platforms and computers for several reasons:

;Different browsers and applications will render the same markup differently.:The same page may display slightly differently in Internet Explorer and Firefox on a high-resolution screen, but it will look very different in the perfectly valid text-only Lynx browser. It needs to be rendered differently again on a PDA, an internet-enabled television and on a mobile phone. Usability in a speech or braille browser, or via a screen-reader working with a conventional browser, will place demands on entirely different aspects of the underlying HTML. Printing the page, via different browsers and different printers onto various paper sizes, around the world, places other demands. With the correct use of modern HTML and CSS there is no longer any need to provide 'Printable page' links and then have to maintain two versions of the whole site. Nor is there any excuse for pages not fitting the user's preferred paper size and orientation, or wasting ink printing solid background colours unnecessarily, or wasting paper reproducing navigation panels that will be entirely useless once printed out [ [http://www.w3.org/TR/CSS21/media.html Media types ] ] .;Browsers and computer graphics systems have a range of user settings.:Resolution, font size, colour, contrast etc can all be adjusted at the user's discretion, and many modern browsers allow even more user control over page appearance [ [http://www.mozilla.org/support/firefox/options Options window ] ] . All an author can do is suggest an appearance.;Web browsers, like all computer software, have bugs:They may not conform to current standards. It is hopeless to try to design Web pages around all of the common browsers' current bugs: each time a new version of each browser comes out, a significant proportion of the World Wide Web would need re-coding to suit the new bugs and the new fixes. It is generally considered much wiser to design to standards, staying away from 'bleeding edge' features until they settle down, and then wait for the browser developers to catch up to your pages, rather than the other way round [ [http://www.w3.org/People/Bos/DesignGuide/designguide.html An essay on W3C's design principles ] ] . In this regard, no one can argue that CSS is still 'cutting edge' as there is now widespread support available in common browsers for all the major features [ [http://www.w3.org/Style/CSS/#browsers Cascading Style Sheets ] ] , even if many WYSIWYG and other editors have not yet entirely caught up [ [http://www.w3.org/Style/CSS/#editors Cascading Style Sheets ] ] .

What you see may be what most visitors get, but it is not guaranteed to be what "everyone" gets.

Comparison of HTML editors

See the main article Comparison of HTML editors.

See also

* List of HTML editors
* Web template system
* Website builder
* Validator [http://www.freelancewebdeveloper.net.au/topic/text-editor Text Editors for Web Developers]

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • HTML-Editor — HTML Editor,   Hilfsprogramm zur bequemen Erzeugung von Dokumenten in der Auszeichnungssprache HTML …   Universal-Lexikon

  • HTML-Editor — Ein HTML Editor ist ein Computerprogramm, mit dem man Internetseiten mit HTML Code erstellen und ändern kann. Dabei unterscheidet man textbasierte Programme, bei denen direkt der Quellcode editiert wird, und so genannte WYSIWYG Editoren, bei… …   Deutsch Wikipedia

  • Html-Editor — Ein HTML Editor ist ein Computerprogramm, mit dem man Internetseiten mit HTML Code erstellen und abändern kann. Dabei unterscheidet man textbasierte Programme, bei denen direkt der Quellcode editiert wird, und so genannte WYSIWYG Editoren, bei… …   Deutsch Wikipedia

  • HTML-Editor Phase 5 — phase 5 Ulli Meybohms HTML Editor phase 52 (Release: 21. Jan 2000) Basisdaten Entwickler …   Deutsch Wikipedia

  • HTML-Editor (X)HTML-Format — OpenWebsuite.org Entwickler: Christian Diekmann Aktuelle Version: 1.0 Release Candidate (21. April 2007) Betriebssystem: Windows, Linux, Solaris …   Deutsch Wikipedia

  • HTML-Editor — Software zur Erstellung von Webseiten. Grundsätzlich wird zwischen textbasierten Editoren und WYSIWYG Editoren unterschieden. Bei textbasierten Editoren wird der HTML , CSS und JavaScript Code direkt eingegeben. WYSIWYG (What You see is what You… …   Online-Wörterbuch Deutsch-Lexikon

  • Ulli Meybohms HTML-Editor — phase 5 Ulli Meybohms HTML Editor phase 52 (Release: 21. Jan 2000) Basisdaten Entwickler: Hans Dieter Berretz (aktuell) Ulli Meybohm …   Deutsch Wikipedia

  • Ulli Meybohms HTML Editor — phase 5 Ulli Meybohms HTML Editor phase 52 (Release: 21. Jan 2000) Basisdaten Entwickler: Hans Dieter Berretz (aktuell) Ulli Meybohm …   Deutsch Wikipedia

  • CoffeeCup HTML Editor — Developer(s) CoffeeCup Software Stable release 2009 / April 27, 2010; 18 months ago …   Wikipedia

  • Alleycode HTML Editor — is a free HTML/XHTML editor that runs on Windows. It was selected as one of PC World s 101 Fabulous Freebies in 2006. [http://www.pcworld.com/reviews/article/0,aid,124883,tk,pcw pr,findid,52632,00.asp] ee also*List of HTML editorsExternal links*… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”