H1B visa is a non-immigrant visa which is required for those who wish to work in the United States for a temporary period. To study in the United States, you can’t go there with a H1B visa. For studying there you must get either F-1 or J-1 visa depending upon the case.
You can find further detail about H-1B visa here:
http://en.wikipedia.org/wiki/H1B_visa