title_body: Is it possible to create anchors in the numbers of an  list? I need a clarification regarding the link creation for &lt;ol&gt; list in the HTML page.
  
  Here is the example code for reference.
  
  &lt;ol&gt;
  &lt;li&gt;test&lt;/li&gt;
  &lt;li&gt;test&lt;/li&gt;
  &lt;/ol&gt;
  
  
  that gives this as output:
  
  
  test
  test
  
  
  I need to create the links only on the numbers preceding the actual text. Is it possible?
upvoted_answer: Earlier in text: 
  
  &lt;a name="header1"&gt;Header 1&lt;/a&gt;
  
  &lt;a name="header2"&gt;Header 2&lt;/a&gt;
  
  further down...
  
  &lt;ol&gt;
  &lt;li&gt;&lt;a href="#header1"&gt;item one&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#header2"&gt;item two&lt;/a&gt;&lt;/li&gt;
  &lt;/ol&gt;
  
  
  If you're making an EPUB book, every tag must be closed, or self-closed. 
  idiotprogrammer had the syntax right, but the example did not work (for IDPF specs).
  
  &lt;img src="image1.jpg" id="image0001" title="this is self-closed" /&gt;