HTML5 does not require the use of the xmlns
attribute as that is specific to XHTML (which means not even HTML 4 uses it either).
If you’re just serving regular HTML5, then you can leave out that attribute entirely:
<!DOCTYPE html>
<html>
The xmlns
attribute is only required if you’re writing and serving XML-serialized HTML5, aka XHTML5.