public void writeHeader(){
  ps.println("<html>");
  ps.println("<head>");
  ps.println("\t<title>Lag</title>");
  ps.println("\t<style>.first {background-color: #F00} .second {background-color: #FF0}</style>");
  ps.println("</head>");
  ps.println("<body>");
  ps.println("<table border=\"1\">");
}

public void writeHeader ( ) { ps . println ( "<html>" ) ; ps . println ( "<head>" ) ; ps . println ( "\t<title>Lag</title>" ) ; ps . println ( "\t<style>.first {background-color: #F00} .second {background-color: #FF0}</style>" ) ; ps . println ( "</head>" ) ; ps . println ( "<body>" ) ; ps . println ( "<table border=\"1\">" ) ; }
writes the header of the html - file ( including the content header ) .
