code: public void writeHtmlHead(Writer out)
           throws IOException
      {
          if (!writtenHtmlHead)
          {
              writtenHtmlHead=true;
              completeSections();
              out.write("<html><head>");
              String title=(String)properties.get(Title);
              if (title!=null && title.length()>0 && !title.equals(NoTitle))
                  out.write("<title>"+title+"</title>");
              head.write(out);
              out.write(base);
              out.write("\n</head>\n");
          }
      }
docs: Write HTML page head tags.
  Write tags &ltHTML&gt&lthead&gt .... &lt/head&gt