I'm trying to fix a table of contents with the following code and am am getting this error:
"Error at line 20 at column 8: Opening and ending tag mismatch li line 0 and html"
This is confusing because the closing tag for li is , not html. And all the
Here's the code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:epub="http://www.idpf.org/2007/ops"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<head>
<title>Contents</title>
<meta content="text/html; charset=utf-8" http-equiv="Content- Type"/>
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="../Styles/page_styles.css" rel="stylesheet" type="text/css"/>
</head>
<body class="calibre">
<h1 class="calibre1">Contents</h1>
<ul class="calibre2" id="toc-style"><li class="calibre3">
<body>
<ol>
<li><a class="calibre4" href="../Text/Flow_0_split_000.xhtml">Foreword/The Art of Correction</a></li>
<li><a class="calibre4" href="../Text/Flow_0_split_001.xhtml">The Revelation of Anakum</a></li>
<li><a class="calibre4" href="../Text/Flow_0_split_002.xhtml">Justice is Blind</a></li>
</ol>
</body>
</html>