namespace ‘htmlTable’ 1.7 is being loaded, but >= 1.11.0 is required" error tells you that your version of the htmlTable package is too old. You have version 1.7 but DESeq2 requires that you use at least 1.11.0
You can verify this by looking at the output of packageVersion("htmlTable")
As an aside, you are using an old version of R, and therefore, and old version of Bioconductor. If you don't have a special need to use a specific version of DESeq2 (ie. to precisely replicate a previous analysis), you should install the latest version of R and reinstall your bioconductor packages to the newest ones. It's too difficult to do, and running the latest versions of these software will help you to get the best support available from these boards.