Complete HTML comments

Top  Previous  Next

A comment may be coded entirely in HTML. For this feature, the open bracket line must include <html>. After the <html> tag, all subsequent lines should be HTML coding as would appear between the <body> </body> tags in a regular html file.

 

For example, if part of the PBN file contained this:

 

[East "RexLiv"]    ; This is the "pro" player at the table

[South "LyellCo"]

[Dealer "N"]

{<html>

<table align="center" border=1>

<tr><td>

<center>

 <p style="font: 20pt bold; color: navy;">Ace Bridge Club</p>

 <p style="font: 14pt bold; color:red;">Results for April 10, 2012</p>

 <p style="font: 11pt bold; color:green;">A Flight</p>

 </center>

 </td></tr></table>

 }

 

The rest-of-line comment and the HTML comments would show up in DDS like this:

Comments1

 

Special [DDS "html"] tag

Comments that you code with HTML are unlikely to be readable by other PBN reading programs. On the other hand, it is expected that comments you place under a non-standard tag will probably be ignored by other PBN reading programs. This situation can be accommodated using the [DDS "html"] tag.