PreviousNext
Help > 10.4 Using Writer as an HTML Editor 
10.4 Using Writer as an HTML Editor 

In addition to being a full-featured word processor, Writer also functions as an HTML editor. You can style HTML pages like any other document, but there are specific HTML Styles that help with creating good HTML. You can view the document as it will appear online, or you can directly edit the HTML code.

Procedure 10.8: Creating an HTML Page 

Click File › New › HTML Document.

Press F11 to open the panel Styles and Formatting.

At the bottom of the panel Styles and Formatting, click the drop-down box to open it.

Select HTML Styles.

Create your HTML page, using the styles to tag your text.

Click File › Save As.

Select the location where you want to save your file and name the file. Make sure that in the bottom drop-down box, HTML Document is selected.

Click OK.

To edit HTML code directly or to see the HTML code created when you edit the HTML file as a Writer document, click View › HTML Source. In HTML Source mode, the Formatting and Styles list is not available.

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.

To switch back from HTML Source mode to Web Layout, click View › HTML source again.