Writer's HTML capabilities include saving existing documents in HTML format, creating new documents as HTML and creating several different types of web pages using a wizard.
The easiest way to create HTML documents is to start with an existing Writer document. You can view it as it will appear on a web page by using View > Web Layout.