Reputation: 13377
Does anyone know a utility which could convert <style>
blocks into the equivalent style
attributes in an HTML file?
For example, we have file on input:
<html>
<head>
<style>
.myclass
{
color:red;
}
</style>
</head>
<body>
<span class="myclass">Some text </span>
</body>
</html>
Here’s the desired output file with inline CSS:
<html>
<head>
</head>
<body>
<span style="color:red;">Some text </span>
</body>
</html>
Upvotes: 1
Views: 317