Create html from css query selector.