I have an html div

<div id="myDiv">
    <table border="1" bgcolor="#FFFFFF" width="600">
    <tr style="text-align:center">
    <td>Subject Code</td>
    <td>Subject Title</td>
    <td>Credit Hour</td>
    </tr>
    </div>

Now, I want to have a button by which i can convert this <div id="myDiv"> to image or .doc....
can any one help me

convert? or u want to insert image in that div?

do you mean exporting that html into doc?
Your post is too vague to receive any specific answer

i want to have that table into a .doc or image file

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.