grabenair Posted January 17, 2013 Report Posted January 17, 2013 I have done some research on this and am still not sure. I have seen html 5 doctype in lower case letters and upper. Does it make a difference? The code editor that my friend uses calls an error if not in upper case. But then again Dream Weaver cs6 uses lower case. I have experimented with both and they seem to work. What I was wondering is. Is there a genoral rule?
Wickham Posted January 17, 2013 Report Posted January 17, 2013 This w3.org page http://www.w3.org/html/wg/drafts/html/master/Overview.html uses par 8.1.1 uses capitals but I cannot believe it make any difference to use lower case, apart from raising a validation error.
kralcx Posted January 18, 2013 Report Posted January 18, 2013 In HTML5, the DOCTYPE is case insensitive. The following DOCTYPEs are all valid: <!doctype html> <!DOCTYPE html> <!DOCTYPE HTML> <!DoCtYpE hTmL>
Recommended Posts