Using Writer as an HTML Editor

In addition to being a full-featured word processor, Writer also functions as an HTML editor. Writer includes HTML tags that can be applied as you would any other style in a Writer document. You can view the document as it will appear online, or you can directly edit the HTML code.

Creating an HTML Document

  1. Click File+New+HTML Document.

  2. Click the arrow at the bottom of the Formatting and Styles window.

  3. Select HTML Styles.

  4. Create your HTML document, using the styles to tag your text.

  5. Click File+Save As.

  6. Select the location where you want to save your file, name the file, and select HTML Document (.html) from the Filter list.

  7. Click OK.

If you prefer to edit HTML code directly, or if you want to see the HTML code created when you edited the HTML file as a Writer document, click View+HTML Source. In HTML Source mode, the Formatting and Styles list is not available.

[Note]

The first time you switch to HTML Source mode, you are prompted to save the file as HTML, if you have not already done so.