Summarize this article in one sentence.
You can edit an HTML document using a text editor such as NotePad, or TextEdit on Windows.  You can also use an HTML editor such as Adobe Dreamweaver.  Use the following steps to open an HTML document.  Navigate to your HTML document in File Explorer on Windows, or the Finder on Mac. Right-click the HTML document you want to edit. Hover over Open with. Click the program you want to edit the document with. This is the opening tag for pre-formatted text. By pre-formatting your text, any spaces and line-breaks created by pressing "Enter" will be displayed on the HTML page. This closes your pre-formatted text section.

Summary:
Open an HTML document. Type <pre> before the text that you want to pre-format. Type your text exactly as intended after the "<pre>" tag. Type </pre> after your text.