html newbie (easy question)

Sharky Forums


Results 1 to 6 of 6

Thread: html newbie (easy question)

  1. #1
    Catfish drstrangelove's Avatar
    Join Date
    Sep 2001
    Location
    The Warroom
    Posts
    108

    html newbie (easy question)

    I am trying to learn a little HTML native scripting as well as some Javascript. What file type should I use to save my info that will execute it? If I save as a text file, it opens it in notepad; if I write in word and save as html, the code itself is then coded.

    solution?
    "Gentlemen. You can't fight in here. This is the War Room."

    Giga-byte GA-7dxr+
    AMD 1.2/266 FSB
    256 MB DDR RAM
    Seagate 40GB
    win2k
    delta 8x DVD-ROM
    SB Live! Audigy
    FA311 NIC
    Antec 300W power supply w/ 3 case fans

  2. #2
    Goldfish
    Join Date
    Sep 2002
    Location
    College Station, TX
    Posts
    53
    Whenever I did html I wrote it in notepad and saved it as name.html.

  3. #3
    Hammerhead Shark Tekime's Avatar
    Join Date
    Dec 2001
    Location
    Falmouth, ME
    Posts
    2,347
    If you do use notepad, you might have to put quotes around the filename you're saving, otherwise it might save the files as "name.html.txt".
    Stuff and stuff

  4. #4
    Goldfish
    Join Date
    Sep 2002
    Location
    College Station, TX
    Posts
    53
    To get around the quotes thing whenever you go to save it select "All Files" instead of "text files"

  5. #5
    Hammerhead Shark Tekime's Avatar
    Join Date
    Dec 2001
    Location
    Falmouth, ME
    Posts
    2,347
    Originally posted by john9684
    To get around the quotes thing whenever you go to save it select "All Files" instead of "text files"
    I know there is a way for that to work. Maybe I'm cursed, because even if I select All Files it still always seemed to save it incorrectly. It might be that you have to select All Files before you type in the proper filename...

    Then again I haven't coded in notepad for like 4 years...
    Stuff and stuff

  6. #6
    Goldfish
    Join Date
    Sep 2002
    Location
    College Station, TX
    Posts
    53
    Yeah...select all files, then type in the name.html. If you open it in notepad you'll have select all files. If you open it from explorer you'll have to right click and say open with notepad, or it'll open up in your default web browser.

Posting Permissions

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