Jump to content
Stef's Super Nerd Community
grabenair

Html 5 Doctype

Recommended Posts

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?

Share this post


Link to post
Share on other sites

In HTML5, the DOCTYPE is case insensitive. The following DOCTYPEs are all valid:

 

<!doctype html>

<!DOCTYPE html>

<!DOCTYPE HTML>

<!DoCtYpE hTmL>

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...