SnippetMaster Support Forums
Return to main website
 
August 18, 2009, 10:53:01 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 18, 2009, 10:53:01 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  How To's & FAQs  |  Topic: Delete the automaticly added <body><head> tags « previous next »
Pages: [1] Print
Author Topic: Delete the automaticly added <body><head> tags  (Read 20 times)
arvid123

Posts: 1


[-] Delete the automaticly added <body><head> tags
« on: August 13, 2009, 01:36:00 AM »

I have a small issue.

In my website I let php include some html files. They are html files without the <body></body> <head></head> tags. The main page of my site includes this files, and therefore don't need these tags. In my index.php file the are the necessary headers.

If I open a html-file (which can be included) in the SnippetMaster, the program added the following information.

Before the text:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

After the text.

</head>
</body>


Is it possible to disable this, I'ld like to keep my site HTML valid.

Thanks in advance.
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  How To's & FAQs  |  Topic: Delete the automaticly added <body><head> tags « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!