JSFiddle - React, Tailwind, and code Playground
by suit
HTML
<div id="container">
</div>
CSS
#container { background: red;}
JavaScript
var content = '<div><p style="font: bold 16px/normal Arial, Helvetica, \'Lucida Sans Unicode\', \'Lucida Grande\', sans-serif; margin: 0px 8px 0px 0px; padding: 3px 0px 0px; width: 149px; text-align: right; color: #222222; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: left; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #5d8dc5; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Ausland</p><p style="margin: 0px; padding: 0px;"></p><p style="margin: 0px; padding: 0px; width: 450px; font-size: 16px; font-weight: normal; -webkit-font-smoothing: antialiased;"><a style="color: #ffffff; font-size: 1em; font-weight: normal; text-decoration: none;" href="http://www.orf.at/stories/2173046/" target="_blank">Erdogan sichert PKK-Kämpfern freien Abzug zu</a></p><p style="margin: 0px; padding: 0px; width: 450px; font-size: 16px; font-weight: normal; -webkit-font-smoothing: antialiased;"><a style="color: #ffffff; font-size: 1em; font-weight: normal; text-decoration: none;" href="http://www.orf.at/stories/2173046/" target="_blank">Erdogan sichert PKK-Kämpfern freien Abzug zu</a></p></div>';
$("[style]", content).each(function(index, value) {
alert($(this).attr("style"));
});
$('#container').append(content);