コード例 #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;
 }
コード例 #2
0
 public TableTag AddFooterRow(Action <TableRowTag> configure)
 {
     _footer.Render(true);
     configure(_footer.Add <TableRowTag>());
     return(this);
 }
コード例 #3
0
 public TableRowTag AddBodyRow()
 {
     return(_body.Add <TableRowTag>());
 }
コード例 #4
0
 public TableRowTag AddHeaderRow()
 {
     return(_header.Add <TableRowTag>());
 }