Simple HTML code doesn't work

Discussing Html . Code , Software , other

Moderators: macek, egami, gesf

Post Reply
johnmacd
New php-forum User
New php-forum User
Posts: 75
Joined: Wed Jun 12, 2013 9:30 pm
Contact:

Re: Simple HTML code doesn't work

Post by johnmacd » Sun Jun 23, 2013 9:39 pm

First check the body tag in your php code. If it is not redirecting then check the path of the file.

aksstgsb
New php-forum User
New php-forum User
Posts: 13
Joined: Fri Dec 13, 2013 3:57 am

Re: Simple HTML code doesn't work

Post by aksstgsb » Fri Dec 13, 2013 4:04 am

Your closing </head> tag in missing in the code. Take a look on it.

User avatar
PreetiGarg
New php-forum User
New php-forum User
Posts: 14
Joined: Fri Dec 28, 2012 2:27 am
Contact:

Re: Simple HTML code doesn't work

Post by PreetiGarg » Tue Jan 14, 2014 11:16 pm

The problem in this code is parh. so correct this path...

User avatar
virinchisoftware
New php-forum User
New php-forum User
Posts: 7
Joined: Fri May 02, 2014 3:29 am
Location: Delhi
Contact:

Re: Simple HTML code doesn't work

Post by virinchisoftware » Fri May 02, 2014 3:49 am

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>.

User avatar
WebOutGateway
New php-forum User
New php-forum User
Posts: 65
Joined: Mon Jun 13, 2011 9:25 pm
Location: Pasig City, Philippines
Contact:

Re: Simple HTML code doesn't work

Post by WebOutGateway » Wed Jun 10, 2015 10:44 pm

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

element121
php-forum Fan User
php-forum Fan User
Posts: 608
Joined: Sat Jun 06, 2015 11:46 am
Contact:

Re: Simple HTML code doesn't work

Post by element121 » Sun Oct 04, 2015 4:55 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest