Quote:
Originally Posted by crutledge
Code:
<a id="CH_1"></a>
<h2>CHAPTER 1.</h2>
or
Code:
<h2 id="CH_1">CHAPTER 1.</h2>
|
The second is correct, the first is wrong, unless everything is wrapped in a <div>.
Quote:
The reason I'm asking this is that I normally use the second format. On loading a file to Sigil, with TIDY on full, each
was changed to
|
If I remember correctly, fragment names cannot start with a digit, so the second would be wrong.