"If you build pages with the idea that anything other than HTML that you add is optional" feels clunky.

"If you build pages with the idea that parts other than HTML are optional" perhaps?