Uppercase or lowercase doctype?
When writing the HTML5 doctype what is the correct method? <!DOCTYPE html> or <!doctype html> 7 Answers 7
When writing the HTML5 doctype what is the correct method? <!DOCTYPE html> or <!doctype html> 7 Answers 7
In order to define charset for HTML5 Doctype, which notation should I use? Short: <meta charset=”utf-8″ /> Long: <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /> 8 In HTML5, they are equivalent. Use the shorter one, as it is easier to remember and type. Browser support is fine since it was designed for backwards compatibility.