You'll need to add the declaration marked in Magenta to the document header:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
BTW, if you export a valid epub2 file with the
Sigil epub3 plugin, it'll do it automatically for you. :-)
It'll also reformat/add other files for epub3 compatibly.