Hey
Just wondering?
Is it really a bad idea to include full html files? The result is nested <head> and <body> tags inside the main Body tag. For example
<head>
</head>
<body>
Server calls include("thisFile.html")
Results:
<head>
</head>
<body>
content
</body
</head>
</body>
Badcode? HTML as includes?
Moderator: General Moderators
-
DidiahProd@hotmail.com
- Forum Newbie
- Posts: 1
- Joined: Sun Nov 10, 2002 7:58 pm
could be
It will generally be alright to have mutliple <head><body> tags but it isn't good form
If the pages that you are going to include are only included into pages that have all the right <html> tags then just store the other pages without all the <head> and <body> tags.
It will make looking at your code for errors much easier.
phpScott
If the pages that you are going to include are only included into pages that have all the right <html> tags then just store the other pages without all the <head> and <body> tags.
It will make looking at your code for errors much easier.
phpScott