AbstractX-ray diffraction (XRD) and small angle X-ray scattering (SAXS) measurements for fluid Hg and fluid Se up to the supercritical region have been carried out using synchrotron radiation at SPring-8. We obtained the structure factor, $S\left(Q\right)$, including a small angle region, and the pair distribution function, $g\left(r\right)$, for both fluids from the liquid to the dense vapor region. Change of the local structure and medium-range correlations at the metal-insulator transition in fluid Hg were revealed. On the other, the average coordination number of two was preserved at the semiconductor-metal transition in fluid Se. From a SAXS experiment of fluid Se in 2012, SAXS spectra near the semiconductor-metal transition region show the Ornstein–Zernike profile and the SAXS intensity is reduced with increasing pressure. These results indicate difficulties of separating fluctuations intrinsic to the semiconductor-metal transition from those arising from the liquid-vapor critical point in fluid Se, although fluctuations intrinsic to the electronic transitions are largely expected in both fluids.