I know that $(\"#divId\").html()
will give me innerHtml. I also need its styles (which might be defined by the means of classes) either in-line style
Generally you can access style parameter using .attr('style'). If you want to access computed style you can use window.getComputedStyle(element) in Opera, Firefox, Chrome and other sane browsers. For IE you'd do the same with element.currentStyle.
Also if you wish to access individual CSS style you can do so with jQuery .css method. Like so $("#divId").css('font-size').