Textedit Save As Html

A web page is made up of plain text and HTML programming code that is used to load pictures and basic formatting of text (e.g., bold, italics, and color). To preserve the spacing and formatting on a web page, it is most often saved with a .HTM or .HTML file extension. However, there may be a need to save the text on the web page as a text document or file. Below are several methods for converting, or saving, an HTML web page as a text document.

Copy and paste web page text in a text document

  1. In the TextEdit app, you can set preferences for all new TextEdit documents, and for opening and saving documents. To change these preferences in the TextEdit app on your Mac, choose TextEdit Preferences, then click New Document or Open and Save. Note: You can change any document’s format at any time using the Format menu.
  2. Open Finder Applications TextEdit. Also change some preferences to get the application to save files correctly. In Preferences Format choose 'Plain Text'. Then under 'Open and Save', check the box that says 'Display HTML files as HTML code instead of formatted text'.

When you open TextEdit – click the top “Format” menu item – and then look for “Make Plain Text.” Once you’ve switched the document to plain text – now input your HTML code. Finally, try to save the document “test.html” and make sure to remove any instances of “txt” in the file name. QTextEdit can display images, lists and tables. If the text is too large to view within the text edit's viewport, scroll bars will appear. The text edit can load both plain text and rich text files. Rich text can be described using a subset of HTML 4 markup; refer to the Supported HTML Subset page for more information. Okay, there appears to be some file or volume (HD) damage that may well be repairable. It appears that some sectors involving TextEdit's core functions, eg. Save and Save As, may be affected. Boot from CD - this can be done with either the grey 'restore' disks that came with the machine, or a retail version (usually black-colored) of the OS you.

If you want to save the text on a web page as a text document, follow the steps below.

  1. Access the web page containing the text you want to save as a text document.
  2. Highlight the text on the web page that you want to save in a text document.
  3. Copy the highlighted text.
  4. Open a text-based application, like Notepad.
  5. In the text application, paste the text you copied.
  6. Save the file, creating the text document.

Save HTML web page as a text document (losing HTML code)

If you want to save the text, and any formatting of the text, as a text document, follow the steps below.

Note

Microsoft Word must be installed on your computer to utilize the steps below.

  1. Access the web page you want to save as a text document.
  2. Save the web page as a web page file (.HTM or .HTML file extension). See the details below on how to save the file in Internet Explorer, Google Chrome, and Mozilla Firefox.
Textedit

Internet Explorer

  • Press the Alt to make the File/Edit/View menu visible. Click the File menu and select Save as.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.

Google Chrome

  • Right-click the web page and select the Save as option.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.

Mozilla Firefox

  • Right-click the web page and select the Save Page As option.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.
Note

In Firefox, instead of selecting the Webpage, complete Save as type option, you can select the Text Files option to save the web page directly to a text document.

  1. Open the Microsoft Word application.
  2. Click the File tab, then click the Open option.
  3. Next to the File name field, in the file type drop-down list, select the All Web Pages option.
  4. Browse to find the web page file you saved from above. Select the file and click the Open button.
  1. Click the File tab again, then click the Save as option.
  2. In the Save as type drop-down list, select the Plain Text (*.txt) option. Additionally, you may need to change the file extension in the File name field to be txt, if it does not automatically change.
  3. Click the Save button to save as a text document.

Convert HTML file to a text file (preserving HTML code and text)

If you want to save a web page as a text document, and preserve the HTML code that provides formatting of the text, follow the steps below.

Note

While the resulting file is a text file, it contains HTML programming code with the text.

  1. Access the web page you want to save as a text document.
  2. Save the web page as a web page file (.HTM or .HTML file extension). See the details below on how to save the file in Internet Explorer, Google Chrome, and Mozilla Firefox.

Textedit Save As Html Code

Internet Explorer

  • Press the Alt to make the File/Edit/View menu visible. Click the File menu and select Save as.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.

Google Chrome

Textedit Save As Html
  • Right-click the web page and select the Save as option.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.

Mozilla Firefox

  • Right-click the web page and select the Save Page As option.
  • Select the location where you want to save the web page file and make sure the Webpage, complete option is selected in the Save as type drop-down list.
  • Click the Save button.
Note

In Firefox, do not select the Text Files Save as type option, as it only saves the text on the web page and does not preserve the HTML code.

Textedit On Mac

  1. Right-click the saved web page file and select the Open with option.
  2. In the Open with menu that appears, select the Choose another app option.
  3. Find and select the Notepad program in the list of applications, then click the OK button.
  4. Once Notepad is open with the HTML code, click File, then Save as, choose the location where you want to save the file, then click the Save button to save as a text document.

Mac Textedit Html

Additional information

  • See the HTML and text pages for further information and related links.