Html how to make a table with multiple headers?
<p>I want to make a table. I know how to make in html simple table. I want to have a few headers. A few types of header, similar to photo. I don't know number of it, I would count it in my program. What should I use, about what should I read?</p>

<p>I tried this:</p>

<pre><code>&lt;table border="1" width="100%"&gt;
&lt;tr&gt;
    &lt;th&gt;AAA1&lt;/th&gt;
    &lt;th&gt;AAA2&lt;/th&gt; 
&lt;/tr&gt;
&lt;tr&gt;
    &lt;th&gt;KKK1&lt;/th&gt;
    &lt;th&gt;KKK2&lt;/th&gt;
    &lt;th&gt;KKK3&lt;/th&gt;
    &lt;th&gt;KKK3&lt;/th&gt;
&lt;/tr&gt;

&lt;tr&gt;
    &lt;th&gt;PPP1&lt;/th&gt;
    &lt;th&gt;PPP2&lt;/th&gt;
    &lt;th&gt;PPP3&lt;/th&gt;
    &lt;th&gt;PPP4&lt;/th&gt;
    &lt;th&gt;PPP5&lt;/th&gt;
&lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>But I know it is too simple and will not give me something similar to picture. I read about colspan, but it will not give me a result which I want.
Maybe there is a bootstrap for it?</p>

<p><a href="https://i.stack.imgur.com/SBAaS.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/SBAaS.jpg" alt="enter image description here"></a></p>