code: public void writeBodyTag(Writer out)
           throws IOException
      {
          if (!writtenBodyTag)
          {
              writtenBodyTag = true;          
              out.write("<body "+attributes()+">\n");
          }
      }
docs: Write HTML page body tag.
  Write tags &ltBODY page attributes&gt.