Closed rhwoodpecker closed 1 month ago
like:
<html> <style>p { width: 20px;} </style> <body> <p>hhhh</p> </body> </html>
got: <p style="width: 20px">hhh</p>
<p style="width: 20px">hhh</p>
To convert a finished HTML document with external CSS styles into an HTML fragment with inline styles applied directly to the elements, you'll need to:
Extract the CSS styles from the
like:
got:
<p style="width: 20px">hhh</p>