On-page optimization focuses on visible content. Technical optimization focuses on the code, the server, and the invisible structure that enables proper crawling and indexing.