Creating a Login Page on My Website: Need Help

  • Thread starter Thread starter wafa1230
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the challenges faced by a participant in creating a login page on their website. The focus is on troubleshooting issues related to HTML file display and linking, with an emphasis on technical aspects of web development.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • The original poster (OP) is unable to display a second HTML page correctly on their website, as it shows the code instead of rendering the page.
  • Some participants suggest that if the page displays code, it likely indicates that the HTML file is not valid or not being interpreted correctly by the browser.
  • One participant requests a link to the HTML page or a way to view the code, suggesting options like zipping the files or using a pastebin service.
  • Another participant humorously suggests checking for simple issues, such as the file extension or ensuring the file is properly identified as an HTML document with the tag.
  • One participant expresses skepticism about the OP's engagement in the discussion, implying they may not be actively participating.

Areas of Agreement / Disagreement

Participants generally agree that the issue likely stems from the HTML file not being valid or not linked correctly, but there is no consensus on the specific cause or solution to the problem.

Contextual Notes

There are indications of potential oversights in file naming or structure, but these remain unverified as the OP has not provided the actual files or links for review.

wafa1230
Messages
1
Reaction score
0
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?
 
Computer science news on Phys.org
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)
 
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?
 
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
 
phinds said:
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)

You should visit w3school, you can got any solution of your problem using this site.
 
OP appears to be a drive-by
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
7
Views
3K
Replies
3
Views
784
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
3
Views
5K
  • · Replies 11 ·
Replies
11
Views
858
Replies
4
Views
2K
Replies
3
Views
4K
  • · Replies 22 ·
Replies
22
Views
5K