Context
Most browsers come with an inspector tool built in that allows you to view a specific element within the webpage's HTML. If you have a browser such as Chrome, Firefox, or Safari, you can use the Inspect or Inspect Element inspector tool to find the HTML ID or name of an element.
Steps
- Right-click on the element.
- Select Inspect or Inspect Element in the context menu.
An inspector window opens with the HTML of the element highlighted. - In the highlighted HTML, find the HTML ID or Name for that element.