--- /dev/null
+</XMP>
+produces the HTML analogue of the record example above<BR>
+<IMG SRC=html1.gif>
+<P>
+As usual, an HTML specification is more verbose. On the other hand,
+HTML labels are much more general, as the following example shows:
+<P>
+<IMG SRC=html2.gif>
+<P>
+The source for this graph can be found <A HREF=html2.dot>here</A>.
+<P>
+Here is an example using <FONT> elements
+<P>
+<IMG SRC=html3.gif>
+<P>
+with the <A HREF=html3.dot>input graph</A>.
+<P>
+Here is an example using an <IMG> element
+<P>
+<IMG SRC=html4.gif>
+<P>
+with the <A HREF=html4.dot>input graph</A>.
+
--- /dev/null
+digraph structs {
+ node [shape=plaintext]
+ struct1 [label=<
+<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
+ <TR><TD>left</TD><TD PORT="f1">mid dle</TD><TD PORT="f2">right</TD></TR>
+</TABLE>>];
+ struct2 [label=<
+<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
+ <TR><TD PORT="f0">one</TD><TD>two</TD></TR>
+</TABLE>>];
+ struct3 [label=<
+<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
+ <TR>
+ <TD ROWSPAN="3">hello<BR/>world</TD>
+ <TD COLSPAN="3">b</TD>
+ <TD ROWSPAN="3">g</TD>
+ <TD ROWSPAN="3">h</TD>
+ </TR>
+ <TR>
+ <TD>c</TD><TD PORT="here">d</TD><TD>e</TD>
+ </TR>
+ <TR>
+ <TD COLSPAN="3">f</TD>
+ </TR>
+</TABLE>>];
+ struct1:f1 -> struct2:f0;
+ struct1:f2 -> struct3:here;
+}
--- /dev/null
+label = text | table
+text = textitem | text textitem
+textitem = string | T_<BR/> | T_<FONT> text T_</FONT>
+table = [ T_<FONT> ] T_<TABLE> rows T_</TABLE> [ T_</FONT> ]
+rows = row | rows row
+row = T_<TR> cells T_</TR>
+cells = cell | cells cell
+cell = T_<TD> label T_</TD> | T_<TD> T_<IMG/> T_</TD>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<!--
+ This is a generated document. Do not edit.
+-->
+<HTML VERSION="2.0">
+<HEAD>
+<TITLE>The DOT Language</TITLE>
+</HEAD>
+<BODY BGCOLOR=white>
+<A NAME="top"></A>
+<H1 ALIGN=CENTER>The DOT Language</H1>
+<HR>
+The following is an abstract grammar defining the DOT language.
+Terminals are shown in bold font and nonterminals in italics.
+Literal characters are given in single quotes.
+Parentheses ( and ) indicate grouping when needed.
+Square brackets [ and ] enclose optional items.
+Vertical bars | separate alternatives.
+<TABLE>