Here's why:
* Di- indicates two.
* Hydrogen has the symbol H.
* Fluoride is the anion of fluorine, which has the symbol F.
Therefore, the formula is HF.