Hence a package called here was written by David Carlisle which gave an option [H] which means “put it HERE, period”. That package is now replaced by Anselm Lingnau’s float package which provides some more facilities also. This package is included by default in both MikTeX as well as TeXlive and you may include it in file by standard
\usepackage{float}
\begin{figure}[H]
(or)\begin{table}[H]
Note that the [H] option cannot be used in conjunction with other options as you can do with [h] option like [htb]. That doesn’t make sense, anyway.To know about other features of this package and download documentation go here.