<p id="TABLE.OF.CONTENTS"></p> <ul> <li id="TABLEOFCONTENTS"></li> </ul> <p id="TABLEOFCONTENTS">Or in the middle of the text </p> <p id="tableofcontents"></p>