I was wondering how to save an HTML file and all dependencies into one file. Unlike an MHTML file, it won't cut it to change style.css to example.com/style.css. It needs to become:<style>[css]</style>
Would you do this by getting, for example, the CSS then creating the <style>
tags in the <head>
and pasting the style tags? What (if any) JS libraries would I use? Or should I use JQuery and AJAX?
EDIT:
I'm making a tool that can archive pages with CSS and JS inline. For Example, so you can archive data on a site before heading into a meeting, so you don't have to worry about a server being down, or the stats changing.