www.webdeveloper.com
Results 1 to 7 of 7

Thread: How to save as HTML in notepad

  1. #1
    Join Date
    Nov 2007
    Posts
    12

    Exclamation How to save as HTML in notepad

    Hi,

    I learned online HTML two years ago and I now forget about the basic thing.

    OK, I wrote an Contact Us email sending form in HTML. I used Notepad in Windows XP Professional. When I wanted to save as, there are some options in SAVE AS page that confused me:

    1) File Name: Can I end with .tpl or has to be .htm (because pages in my server file manager finished that way. Example: contact.tpl

    2) Save as Type: TextDocuments (*.txt) or All Filles

    3) Encoding: ANSI ; Unicode; Unicode Big Endian or UTF-8

    Could someone please help me with this.

    Best Regards,

    Xboxer

  2. #2
    Join Date
    Jun 2005
    Location
    United Kingdom
    Posts
    1,043
    Save As|All Files|yourfile.htm (or whatever)

  3. #3
    Join Date
    Nov 2006
    Posts
    134
    you may not have file extensions turned on as well so you may be naming them something.htm.txt

    to turn on file extensions
    goto my computer
    tools
    folder options
    view tab
    uncheck "hide extensions for known filetypes"

  4. #4
    Join Date
    May 2005
    Location
    Northern Indiana
    Posts
    597
    In the save dialog, I believe you also need to enter your filename inside of quotes, otherwise Notepad will append a ".txt" to the end.

  5. #5
    Join Date
    Aug 2007
    Location
    New Jersey, US
    Posts
    1,779
    Quote Originally Posted by Tweak4
    In the save dialog, I believe you also need to enter your filename inside of quotes, otherwise Notepad will append a ".txt" to the end.
    Not if you set it to "All Files"

    if you're still having a problem, you can do what Theremin said, then just delete the .txt off the end.

  6. #6
    Join Date
    Nov 2007
    Posts
    12
    Thanks for all your inputs. What about the third box ENCODING? This box is at the bottom of the Save As pop-up. there are four options in its drop down. Which one is the good one? Thanks,

    Xboxer.

  7. #7
    Join Date
    Mar 2006
    Location
    Newcastle NSW Australia
    Posts
    4,033
    Utf-8

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles