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
 
I came across a video regarding the use of AI/ML to work through complex datasets to determine complicated protein structures. It is a promising and beneficial use of AI/ML. AlphaFold - The Most Useful Thing AI Has Ever Done https://www.ebi.ac.uk/training/online/courses/alphafold/an-introductory-guide-to-its-strengths-and-limitations/what-is-alphafold/ https://en.wikipedia.org/wiki/AlphaFold https://deepmind.google/about/ Edit/update: The AlphaFold article in Nature John Jumper...
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...
Back
Top