How to Inspect Elements in Safari, Chrome, and Firefox on Mac

Feature Image How To Inspect Element On A Mac

Inspecting elements is an essential skill that allows anyone to understand how a website is built and to make necessary adjustments. You don’t have to be a web developer to benefit from inspecting elements on a Mac with any modern browser with just a few simple clicks. Fortunately, inspecting elements is a built-in tool in all modern browsers, and you don’t need any special software to do it. This tutorial provides step-by-step instructions on how to inspect elements in Safari, Chrome, and Firefox on Mac.

Tip: looking to switch from Chrome to Firefox as your default browser? We provide everything you need to ensure a smooth transition.

What Is Inspect Elements?

Inspect Elements is a powerful feature available on all modern web browsers that allows you to learn more about a webpage, like its structure, layout, and styling of it. Developers and online content designers often use these tools to debug, experiment, and troubleshoot a web project. You can easily select an element of a website, and the inspection tool will give all the information beneath a particular element, like the color, font, size, and other elements.

The inspection tool also allows you to modify the code temporarily and view the changes being applied to the webpage in real-time. However, the changes will only be visible to you. It is a powerful tool for you, whether you’re an experienced developer or just curious to learn how a particular website is built.

Did you run into the Firefox Relay pop-up? We show you how to remove the Firefox Relay drop-down from email fields.

How to Inspect Elements in Google Chrome on Mac

Let’s start with how to inspect elements in Chrome, as it is the most popular browser. The steps are fairly simple, allowing you to get started in no time.

How to Open the Inspection Panel in Google Chrome

  1. Open the Chrome browser, and visit any website you’d like to inspect.
Google Chrome Icon On Mac
  1. Right-click on any blank space and select “Inspect.”
Highlighted Inspect Button On Chrome
  1. You will see the inspection panel on your screen.
Inspect Element Panel On Chrome In A Mac

Good to know: not using Chrome for Mac? Discover how to use Google Chrome’s “Inspect” tool for website diagnostics on a Windows PC.

How to Inspect a Particular Element of a Webpage in Google Chrome

Now that you have successfully opened the inspection panel, let’s learn how to interact with an element.

  1. From the left corner of the inspection panel, click on “Select an element to inspect it.”
Select An Element To Inspect It Option On Chrome
  1. Select any element. For this example, we’re inspecting an image on the webpage. You can do this with any element you would like. You will see a white box with some basic information, like the type of element, name of the file, etc. On the right side, you will see the code associated with the particular element.
Inspecting An Image Element On Chrome

How to View the Mobile Version of a Website in Google Chrome

  1. From the left side of the inspection panel, click on the “Toggle Device Toolbar” option.
Toggle Device Toolbar Option On Chrome Inspection Panel
  1. You will see the website react on a mobile device. You can still perform your inspection by clicking on the element, and the information will be based on smartphones.
Mobile View On Chrome Inspection Tool
  1. If you click on the “Responsive” drop-down above, you can select a device of your choice from the list. When you do so, you will see how the webpage reacts to a particular smartphone model.
Supported Mobile Devices On Chrome Inspection Tool

How to Change the Location of the Inspection Panel in Google Chrome

  1. Click on the vertical three-dot ellipsis from the right corner of the inspection panel.
Customize And Control Dev Tools Button On Chrome In A Mac
  1. Select the location for the inspection dock: on the left, below, or on a pop-up window.
Highlighting Dock Side Settings On Chrome

How to Inspect Elements in Safari on Mac

The inspect elements feature is turned off by default on Safari, as it is a part of the developer option. So first, we need to enable the “Develop Menu.”

Tip: making the switch from Chrome to Safari as your default browser on your Mac? We have all the steps to help you transition without losing your favorite bookmarks, extensions, and more.

How to Open the Inspection Panel in Safari

  1. Once you open Safari and are already on the website you want to inspect, click on the “Safari” icon in the top menu bar and select “Settings.”
Safari Settings Button From Top Menu
  1. This will take you to the “General” tab. Select the “Advanced” tab on the far right.
Safari Advanced Settings From The Settings Panel
  1. Click the checkbox next to “Show Develop menu in the menu bar” to have access to all advanced features of Safari.
Show Develop Menu In Menu Bar Option On Safari Settings
  1. Right-click anywhere on the website and select “Inspect Element.” This will open the inspect elements panel in Safari.
Inspect Element Button On Safari
  1. For more advanced options, click on the “Develop” tab in the menu bar.
Develop Option On Menu Bar

How to Inspect a Particular Element of a Webpage in Safari

  1. Click on the “inspect” icon that looks like a bullseye in the left corner of the inspection pane.
Start Element Selection On Safari In A Mac
  1. Use your cursor and select the element you would like to inspect. We are inspecting the title tag for this example, but you can inspect any element you would like.
Inspecting A Heading Tag On Safari Inspect Tool

How to View the Mobile Version of a Website in Safari

  1. From the top menu bar, click on the “Develop” option and select “Enter Responsive Design Mode.”
Enter Responsive Mode On Safari Inspection Tool
  1. Select any device model you want to use to inspect the webpage.
Iphone View On Safari Inspection Tool

How to Change the Location of the Inspection Panel in Safari

From the left side of the inspection panel, select the location you would like, and the inspection pane will be moved accordingly.

Change Inspection Dock Location On Safari

How to Inspect Elements in Firefox on Mac

Firefox is a popular choice among seasoned developers and designers when working on web projects. Let’s see how we can inspect elements in Firefox on Mac.

How to Open the Inspection Panel in Firefox

  1. Once you are on the webpage you want to inspect in the Firebox browser, right-click and select “Inspect.”
Inspect Button On Firefox In A Mac
  1. This will open the inspection panel on the Firefox browser.
Inspection Panel On Firefox In A Mac

How to Inspect a Particular Element of a Webpage in Firefox

  1. Click on the “cursor” icon that you see in the left corner of the inspection panel.
Pick An Element From The Page On Firefox
  1. Move your cursor to the element you’d like to inspect. For this example, we are inspecting a heading tag, but you can do this with any element you would like.
Inpecting A Title Tag On Firefox Inspection Tool

How to View the Mobile Version of a Website in Firefox

  1. From the right corner of the inspection panel, click the smartphone icon.
Responsive Design Mode On Firefox In A Mac
  1. This will convert and load the website into a smartphone-shaped viewer. You can click on the “Responsive” toggle to select a mobile device of your choice.
Resposive Drop Down Button On Firefox In A Mac

How to Change the Location of the Inspection Panel in Firefox

  1. Click on the horizontal three-dot ellipsis in the right corner of the inspection dock.
Inspection Dock Settings On Firefox In A Mac
  1. Select the location you’d like to enable, and the inspection panel will be moved accordingly.
Different Inspection Dock Location On Firefox In A Mac

Frequently Asked Questions

How does inspecting elements differ from viewing the page source?

Inspect elements is a developer tool built into modern browsers to interact, modify, and troubleshoot a webpage for its HTML, CSS, and JavaScript. When you check the page source of a webpage, you simply see a static HTML code that was delivered by the server to the browser. You can analyze the overall structure, content, and tags, like the metadata, etc., but the inspection tool renders the webpage with all of its elements, corrects errors, and more.

Which other types of data can I discover from using the inspect elements tool?

With inspect elements, you get a comprehensive view of how a website is built. You gain access to the actual HTML code with hierarchy and nesting. You can modify the CSS and see the changes in real time, including elements like color, font size, etc. You can also see the JavaScript code, allowing you to debug the code and analyze it. The “Network Requests” feature makes it easier for you to understand the resources that are being loaded externally, like the Console Output fonts, DOM manipulation, and more.

Can website owners see inspect element activity on their websites?

Technically, yes. To clarify, all modern websites have analytics and other tracking tools installed, which essentially track everything that you do on a website, from how long you remain on the site to where you click. However, you will never be personally identified by the website, and you are simply a data point in a cluster of users that matches your demographic and behavior. These systems are in place to monitor the website’s performance and improve user experience.

Image credit: Unsplash. All screenshots by Abbaz Uddin.

Is this post useful?
Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Abbaz Uddin

Abbaz is an experienced Freelance Tech writer. He has a strong passion for making technology accessible to non-tech individuals by creating easy-to-understand content that helps them with their technological needs.