Creating a Login Page on My Website: Need Help

  • Thread starter Thread starter wafa1230
  • Start date Start date
AI Thread Summary
To create a functional second page on a website, ensure that the HTML file is valid and properly linked. If the page displays code instead of rendering as a webpage, it indicates that the HTML tags are not being interpreted correctly, likely due to an invalid file format. Verify that the file has the correct extension (.html or .htm) and includes the necessary HTML structure, such as the <html> tag. Directly accessing the page via its URL can help troubleshoot the issue. For further assistance, resources like W3Schools can provide guidance on HTML standards and practices.
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
 
This week, I saw a documentary done by the French called Les sacrifiés de l'IA, which was presented by a Canadian show Enquête. If you understand French I recommend it. Very eye-opening. I found a similar documentary in English called The Human Cost of AI: Data workers in the Global South. There is also an interview with Milagros Miceli (appearing in both documentaries) on Youtube: I also found a powerpoint presentation by the economist Uma Rani (appearing in the French documentary), AI...
I have been idly browsing what Apple have to offer with their new iPhone17. There is mention of 'Vapour cooling' to deal with the heat generated. Would that be the same sort of idea that was used in 'Heat Pipes' where water evaporated at the processor end and liquid water was returned from the cool end and back along a wick. At the extreme high power end, Vapour Phase Cooling has been used in multi-kW RF transmitters where (pure) water was pumped to the Anode / or alternative Collector and...
Back
Top