peter The easiest way I could figure out how to get html to format chords/lyrics was the following. While converting text to html, if you parse a line of text with embedded chords (e.g. [A7]) , you can convert this to a new table with two rows, Placing the chords in the first row, using th tags, and the lyrics in the second row using td tags.
e.g.
[G]What would you [D]do if I [Am]sang out of tune
Are you [D]sad because you're on your [G]own
Would be transformed into something like this:
<html>
<body>
<style>
th, td {
text-align: left;
}
</style>
<table>
<tr><th>G</th><th>D</th><th>Am</th></tr>
<tr><td>What would you</td><td>do if I</td><td>sang out of tune</td></tr>
</table>
<table>
<tr><th></th><th>D</th><th>G</th></tr>
<tr><td>Are you</td><td>sad because you're on your</td><td>own</td></tr>
</table>
</body>
</html>