Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

HTML editor

From Wikipedia, the free encyclopedia
Software for editing HTML
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
This articlemay containoriginal research. Pleaseimprove it byverifying the claims made and addinginline citations. Statements consisting only of original research should be removed.(April 2024) (Learn how and when to remove this message)
This article includes a list ofgeneral references, butit lacks sufficient correspondinginline citations. Please help toimprove this article byintroducing more precise citations.(April 2024) (Learn how and when to remove this message)
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "HTML editor" – news ·newspapers ·books ·scholar ·JSTOR
(August 2019) (Learn how and when to remove this message)
(Learn how and when to remove this message)

HTML
HTML5 logo
HTML and variants
HTML elements and attributes
Editing
Character encodings and language
Document and browser models
Client-side scripting and APIs
Graphics and Web3D technology
Comparisons

AnHTML editor is a program used for editing HTML, the markup of a web page. Although the HTML markup in a web page can be controlled with any text editor, specialized HTML editors can offer convenience, added functionality, and organisation. For example, many HTML editors handle not only HTML, but also related technologies such as CSS,JavaScript, orECMAScript. In some cases, they also manage communication with remote web servers via FTP and WebDAV, and version control systems such as Subversion or Git. Many word processing, graphic design, and page layout programs that are not dedicated toweb design, such as Microsoft Word or QuarkXPress, also have the ability to edit & export HTML documents.[1]

Text editors

[edit]

Text editors intended for use with HTML usually provide at leastsyntax highlighting. Some editors additionally featuretemplates,toolbars, andkeyboard shortcuts to quickly insert commonHTML elements and structures.Wizards,tooltip prompts, andautocompletion may help with common tasks.

Text editors commonly used for HTML typically include either built-in functions or integration with external tools for such tasks asversion control, link-checking andvalidation,code cleanup and formatting, spell-checking, uploading by FTP or WebDAV, and structuring as a project. Some functions, such as link checking or validation, may useonline tools, requiring a network connection.

Text editors require user understanding of HTML and any other web technologies the designer wishes to use, like CSS, JavaScript andserver-side scripting languages.

To ease this requirement, some editors allow editing of the markup in morevisually organized modes than simple color highlighting, but in modes not considered WYSIWYG. These editors typically include the option of usingpalette windows ordialog boxes to edit the text-based parameters of selectedobjects. These palettes allow editing parameters in individual fields, or inserting new tags by filling out an onscreen form, and may include additionalwidgets to present and select options when editing parameters (such as previewing an image or text styles) or an outline editor to expand and collapse HTML objects and properties.

WYSIWYG HTML editors

[edit]
Amaya 10 HTML editor

WYSIWYG HTML editors provide an editing interface that resembles how the page will be displayed in aweb browser. Because using a WYSIWYG editor may not require any HTML knowledge, they are often easier for an inexperienced computer user to get started with.

The WYSIWYG view is achieved by embedding alayout engine. This may be custom-written or based on one used in a web browser. The goal is that, at all times during editing, therendered result should represent what will be seen later in a typical web browser.[2]

WYSIWYM (what you see is what you mean) is an alternative paradigm to WYSIWYG editors. 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.[citation needed]

Difficulties in achieving WYSIWYG

[edit]
This section mayrequirecleanup to meet Wikipedia'squality standards. The specific problem is:Appears to be a list and does not hold up to the encyclopedictone. Please helpimprove this section if you can.(October 2025) (Learn how and when to remove this message)

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

Different browsers and applications will render the same markup differently.
The same page may display slightly differently, for example, inChrome,Safari,Edge,Internet Explorer andFirefox on a high-resolution screen, but it will look very different in the perfectly valid text-onlyLynx browser. It needs to be rendered differently again on aPDA, aninternet-enabled television, and on amobile phone. Usability in aspeech orbraille browser, or via ascreen-reader working with a conventional browser, will place demands on entirely different[clarification needed] aspects of the underlying HTML. All an author can do is suggest an appearance.
Web browsers, like all computer software, havebugs.
They may not conform to currentstandards. 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 theWorld 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.[3] For instance, 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,[4] even if many WYSIWYG and other editors have not yet entirely caught up.[5]
A single visual style can represent multiple semantic meanings
Semantic meaning, derived from the underlying structure of the HTML document, is important for search engines and also for various accessibility tools. On paper, we can tell from context and experience whether bold text represents a title, emphasis, or something else. But it is very difficult to convey this distinction in a WYSIWYG editor. Simply making a piece of text bold in a WYSIWYG editor is not sufficient to tell the reader *why* the text is bold – what the boldness represents semantically.
Modern websites are rarely constructed in a way that makes WYSIWYG useful
Modern websites typically use acontent management system or some othertemplate processor-based means of constructing pages on the fly using content stored in a database. Individual pages are never stored in a filesystem as they may be designed and edited in a WYSIWYG editor, thus some form of abstracted template-based layout is inevitable, invalidating one of the main benefits of using a WYSIWYG editor.

Valid HTML markup

[edit]

HTML is a structuredmarkup language. There are certain rules on how HTML must be written if it is to conform toW3C 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 onwireless devices like mobile phones and PDAs, with their limited bandwidths and screen sizes. However, most HTML documents on the web do not meet the requirements of W3C standards. In a study conducted in 2011 on the 350 most popular web sites (selected by the Alexa index), 94 percent of websites fail the web standards markup and style sheet validation tests, or apply character encoding improperly. Even those syntactically correct documents may be inefficient due to an unnecessary use of repetition, or based upon rules that have beendeprecated for some years.Current W3C recommendations on the use of CSS with HTML were first formalised by W3C in 1996[6] and have been revised and refined since then.[7][8]

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.

Valid markup promotes accessibility and consistency regardless of whether a page was created by hand or through a WYSIWYG editor. Compliance with web standards helps ensure content renders correctly across different browsers and devices. Validation tools such as theW3C HTML Validator andW3C CSS Validator allow authors to check syntax and confirm technical accuracy prior to publication.[9]

Accessibility of web pages by those with physical, eyesight or other disabilities is not only a good idea considering the ubiquity and importance of the web in modern society, but is also mandated by law. In the U.S., theAmericans with Disabilities Act and in the UK, theDisability Discrimination Act place requirement on web sites operated by publicly funded organizations. In many other countries similar laws either already exist or soon will.[9]Making pages accessible is more complex than just making them valid; that is a prerequisite but there are many other factors to be considered.[10] Good web design, whether done using a WYSIWYG tool or not needs to take account of these too.

Whatever software tools are used to design, create and maintain web pages, 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.[11]

See also

[edit]

References

[edit]
  1. ^"How to create and edit an HTML document with Microsoft Word 2002".Microsoft Support. Retrieved27 October 2025.
  2. ^"Rendering Engines Used By Different Web Browsers".GeeksforGeeks. 7 December 2023. Retrieved27 October 2025.
  3. ^Bos, Bert (6 March 2003)."An essay on W3C's design principles". W3C. Retrieved23 October 2013.
  4. ^"Cascading Style Sheets". W3C. Retrieved23 October 2013.
  5. ^"Cascading Style Sheets". W3C. Retrieved23 October 2013.
  6. ^Håkon Wium Lie; Bert Bos."Cascading Style Sheets, level 1". W3C. Retrieved23 October 2013.
  7. ^"Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification".W3C.
  8. ^"XHTML™ 1.1 - Module-based XHTML - Second Edition".W3C.
  9. ^abHarold, Elliotte Rusty (2008).Refactoring HTML. Boston: Addison Wesley.ISBN 978-0-321-50363-3.
  10. ^"Web Content Accessibility Guidelines (WCAG) 2.0". W3C. 2008. Retrieved23 October 2013.
  11. ^"Dave Raggett's Introduction to HTML". W3C. 24 May 2005. Retrieved23 October 2013.
Open-source
CodeMirror-based
Mozilla Composer-based
Scintilla-based
Web-based
Freeware
Commercial
software
Cross-platform
macOS only
Windows only
Discontinued
Helper tools
Authority control databases: NationalEdit this at Wikidata
Retrieved from "https://en.wikipedia.org/w/index.php?title=HTML_editor&oldid=1336729050"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp