Three-dimensional photonic crystals with an inverted yablonovite structure have been fabricated by the direct laser writing method based on the two-photon polymerization of a photosensitive material. The correspondence of the structure of the samples to the inverted yablonovite lattice has been confirmed by scanning electron microscopy. The photonic band structure of inverted yablonovite, as well as a number of related photonic materials with an fcc lattice, has been calculated. It has been found that the photonic properties of opal and yablonovite are opposite: the complete photonic band gap appears in inverted opal and direct yablonovite and is absent in direct opal and inverted yablonovite. A method for the fabrication of ideal three-dimensional photonic structures having the complete photonic band gap in the infrared and visible spectral ranges has been discussed.