Exemple #1
0
 public HtmlDocument()
 {
     RootTag = new HtmlTag("html");
     DocType = "<!DOCTYPE html>";
     _head   = RootTag.Add("head");
     _title  = _head.Add("title");
     _body   = RootTag.Add("body");
     Last    = _body;
 }
Exemple #2
0
 public TableTag AddFooterRow(Action <TableRowTag> configure)
 {
     _footer.Render(true);
     configure(_footer.Add <TableRowTag>());
     return(this);
 }
Exemple #3
0
 public TableRowTag AddBodyRow()
 {
     return(_body.Add <TableRowTag>());
 }
Exemple #4
0
 public TableRowTag AddHeaderRow()
 {
     return(_header.Add <TableRowTag>());
 }