Right-click on the webpage and select View Page Source
Press Ctrl+U on Windows/Linux or Cmd+Option+U on Mac
Open Developer Tools with F12, Ctrl+Shift+I, or Cmd+Option+I
Use the Elements tab in Developer Tools to inspect HTML and CSS
Use the Sources tab in Developer Tools to view JavaScript files
Type view-source: before the website URL in the address bar
Use browser extensions or online tools that display page source
Save the webpage and open the saved HTML file in a text editor
