Im adding html to the docx using embedHTML.
How do I insert legend to it ?
$html = "";
$html .= "
<h1>Section 1</h1>
...
<h1>Section 2</h1>
<h2>Success Factors</h2>
...
"
$docx->embedHTML($html);
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it now