Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need HTML help

  1. Dec 11, 2011 #1
    I am trying to make another page on my website where users can go login. The problem is I can't figure out how to make the second page on the site. I have a html file saved on the server along with the home page. I have a link to the html page on the site but it shows all the code. Can anybody help me?
     
  2. jcsd
  3. Dec 11, 2011 #2

    phinds

    User Avatar
    Gold Member
    2016 Award

    I don't really get what your problem is. If you have a valid 2nd HTML file and you link to it, it should display the page it represents. If it displays "code" then it must not be a valid HTML file. In other words, if it displays "code", it is not interpreting valid HTML tags, it's just treating them as text (because they are NOT valid HTML)
     
  4. Dec 11, 2011 #3
    Can you just post a link so we can see it for ourselves? If not, can you just take the two html pages and put them in a zip and then host that somewhere so we can download and look at them? Or you could use a site like pastebin to paste the text of the html files and then link them here.

    Barring all that, what happens when you try to directly access the 2nd page by just entering the URL?
     
  5. Jan 21, 2012 #4
    Some simple things ... like asking if it's plugged in. lol

    Is the extension on the filename correct? .html .htm ?/make it same as the page that works.

    In the file itself, do you identify it as an html file? <html> tag for example.

    Don't mean to insult you, but this sounds like some simple oversight.

    Ken
     
  6. Jan 31, 2012 #5
    You should visit w3school, you can got any solution of your problem using this site.
     
  7. Jan 31, 2012 #6

    phinds

    User Avatar
    Gold Member
    2016 Award

    OP appears to be a drive-by
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Need HTML help
  1. HTML question (Replies: 9)

  2. Learning HTML (Replies: 2)

  3. Need help (Replies: 5)

Loading...