Is there a tool available that can convert <style>
blocks to the corresponding style
attributes in an HTML file?
For instance, if we have the following input file:
<html>
<head>
<style>
.myclass
{
color:red;
}
</style>
</head>
<body>
<span class="myclass">Some text </span>
</body>
</html>
This is the desired output file with inline CSS:
<html>
<head>
</head>
<body>
<span style="color:red;">Some text </span>
</body>
</html>