"Triad" would be an unusal term, though, for D-E-F, wouldn't it?
Reading https://en.wikipedia.org/wiki/Triad_(music) it appears, outside of "some twentieth-century theorists," the notes of a triad should not be successive within a diatonic scale ("Triads [...] are built by superimposing every other note of a diatonic scale") so that E couldn't be part of a triad which has D and F.
That wikipedia page suggests "trichord" would be the right term for a generic set of three notes (https://en.wikipedia.org/wiki/Trichord)