If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE! ??? In a template I'm using, these characters  appear in front of the
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">..... statement.
Anybody know what these are, what are they for, and what happens if I remove them?
Last edited by emark; 05-02-2010 at 03:56 PM.
Rick
It's the Unicode byte order mark.
Thanks guys,
Thanks copper. I did backup everything. The pages loaded and looked alright, I just didn't know if I removed it would that affect the way the code is presented, and hence the page being displayed.
And sdsinc, what is the mark actually doing? Is it like a verification that the code is in order? I'm going to look up info in it, but finding out from someone who knows is a lot easier for me to understand.
Rick
This will help you. http://www.unicode.org/faq/utf_bom.html#BOM
BTW: what HTML editor do you use ?
coolsniper, I'm using the Coffee Cup free version.
"primarily of unmarked plaintext files" Am I understanding this correctly? The BOM is really not necessary for html, xhtml, php pages.
Last edited by emark; 05-03-2010 at 06:28 PM.
Rick
You can get rid of the BOM, in particular if your pages do not contain UTF-8 text.
Check under which format your editor is saving files - UTF-8/ANSI or otherwise.
Bookmarks