Transform embedded and external stylesheets to style attributes on the HTML tags.