Safari icon

Viewing the HTML for a webpage

Curious about the code that makes up webpages? There’s an easy way to view the source code, also known as HTML, for a webpage.

To view the HTML for a webpage:

Choose View > View Source.

Related Topics

Saving webpages