RootsWeb.com Mailing Lists
Total: 1/1
    1. Re: [FreeHelp] Other "boilerplate" html
    2. Pat Geary
    3. >Kind folks, >I found this discussion quite interesting. In addition to the <!DOCTYPE >html> "boilerplate" text, I have some other stuff prior to the <head> >section that I don't fully understand. I'm pretty sure it came from an >example a friend of mine gave me, or that I found somewhere. My three >pre-head lines look like this: ><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" >"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> >I was just wondering if anyone sees anything harmful or >inappropriate there? I also notice that instead of in the head >section, I have: I guess I have the same set of questions regarding >the appropriateness of that. -- Thanks, Charlie ================= What you see is the XHTML strict doctype and is perfectly fine. For anyone who wants to know more on doctypes see: http://www.w3schools.com/tags/tag_doctype.asp http://www.w3.org/QA/2002/04/valid-dtd-list.html http://htmlhelp.com/tools/validator/doctype.html Most of the folks I work with, including myself, use the XHTML Transitional of Strict doctype. Pat Pat Geary Working With Rootsweb FreePages Accounts EBook (free) http://freepages.genealogy.rootsweb.ancestry.com/~gearyfamily/rootsweb-freepages-ebook.html

    02/26/2012 02:47:22