ページの<html><head>の要素を開いて<body>を開示し、Doctype を解析する。