UV observations of B to F-type stars