Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Todd and Andreas: this is all interesting, and thanks, but mainly I was trying to clarify the intent of the question (and so my comment was directed to the OP).
You say in general not. I don't think I follow. What example do you have in mind? (FWIW, Wikipedia seems to agree with me, en.wikipedia.org/wiki/Topological_group#Properties, paragraph 5, but it seems to me a straightforward argument.)
Where you say more generally, I assume you mean a subgroup equipped with the subspace topology? Because it seems to me the answer is yes, and it has nothing to do with total disconnectedness: a subgroup of a topological group, when given the subspace topology, is a topological group. Mostly it comes down to checking that if $H \hookrightarrow G$ is a subspace, then the product topology on $H \times H$ coincides with the subspace topology on $H \times H$ inherited from the product space $G \times G$.