put table information into <h2> and <p>