Simple HTML code doesn't work
Moderators: egami, macek, gesf
First check the body tag in your php code. If it is not redirecting then check the path of the file.
- PreetiGarg
- New php-forum User
- Posts: 14
- Joined: Fri Dec 28, 2012 2:27 am
- Contact:
The problem in this code is parh. so correct this path...
- virinchisoftware
- New php-forum User
- Posts: 7
- Joined: Fri May 02, 2014 3:29 am
- Location: Delhi
- Contact:
Hi,
First of all you should close head tag before body tag open.
May be your path is wrong.
Once try without .. (double dot).
At last, Close body tag before </html>.
First of all you should close head tag before body tag open.
May be your path is wrong.
Once try without .. (double dot).
At last, Close body tag before </html>.
- WebOutGateway
- php-forum Fan User
- Posts: 65
- Joined: Mon Jun 13, 2011 9:25 pm
- Location: Pasig City, Philippines
- Contact:
It shows that your a beginner, Make some practices and find tutorials over the internet will help you a lot.
Anyways regarding to your problems tags is important since it was basic from html you have to check the open and close tags that you construct.
Next recheck the path directory. ../ is advisable to use when your about to call a file out of the folder that your file has been save, if ever you file has been save in the same folder you can just call it by its path without the ../
Hope you get the point in there. You can do it.
Thanks
Anyways regarding to your problems tags is important since it was basic from html you have to check the open and close tags that you construct.
Next recheck the path directory. ../ is advisable to use when your about to call a file out of the folder that your file has been save, if ever you file has been save in the same folder you can just call it by its path without the ../
Hope you get the point in there. You can do it.
Thanks
-
- php-forum GURU
- Posts: 628
- Joined: Sat Jun 06, 2015 11:46 am
- Contact:
Hi,
You can also use a markup validator like this one, which will tell you problems:
https://validator.w3.org/
You can paste your code into direct input and it will check it for you.
Hope that helps,
Jon
You can also use a markup validator like this one, which will tell you problems:
https://validator.w3.org/
You can paste your code into direct input and it will check it for you.
Hope that helps,
Jon
-
- New php-forum User
- Posts: 4
- Joined: Tue Mar 30, 2021 9:02 pm
Some of your code is not accurately working.
Link to Google
Link to Google