High silicon-content resin composition that can be used to form thin film thermosets, useful in forming low k dielectric constant materials and as well as hard mask materials with anti-reflective properties for the photolithography industry are disclosed.