Pavlos1316 Pavlos1316 - 1 year ago 70
HTML Question

HTML structure?

I think this one is simple just explain it a bit please...

Supose I have this index.php (Don't look for script errors)


And my home.php (I saw this somewhere and I am wondering, even if it is working is it wrong?)
Instead of having again the normal html structure as above, you have:

some code

LEAVING OUT all the other tags.

Is this correct? Yes? No? Why?

Thank you

Edit: What if I am calling a js script in my head tag? Would the home.php inherite it?

Answer Source

It probably shouldn't have the <body> tag again, but otherwise okay.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download