Page 1 of 1

html DocType support?

Posted: Sun Aug 03, 2014 11:00 pm
by SuperMindConsulting
Is it safe to use the newer html doctype for the Master and/or ASPX pages?

Currently, the Master pages and ASPX pages use HTML 4.01 Transitional.

Code: Select all

<!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" xml:lang="en">
The newer HTML 5 DOCTYPE:

Code: Select all

<!DOCTYPE html>
<html lang="en">
REFERENCE LINK to w3schools @ DOCTYPE definition