An HTML Editor is a place where you write HTML code.
Online HTML Editors allow you to edit HTML code in a browser.
The easiest way to create an HTML editor is with a <textarea> element.
The HTML form below is fully editable.
<textarea rows="10" style="width:90%;">
<form action="/tutorial/action.html">
<input type="text" name="first" placeholder="First name"><br /><br />
<input type="text" name="last" placeholder="Last name"><br /><br />
<button type="submit">Submit</button>
</form>
</textarea>
Of course, it has no syntax highlighting or any HTML formatting support.
An HTML Editor is a place where you write your HTML code.
Most editors support syntax highlighting which visually separates markup from content.
Online HTML Editors allow you to edit HTML code on the Web (like the Dofactory HTML Editor).
An HTML Viewer previews HTML code that was written in the Editor. It's like a mini-browser.
Advanced HTML Editors are synchronous, that is, as soon as the HTML is written, the Viewer updates the display
The Dofactory HTML Editor is a synchronous editor.
You make a code change and the rendered results show up immediately.
Click the button to open the Editor: