Find an HTML ID or Name

  • Updated

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

  1. Right-click on the element.
  2. Select Inspect or Inspect Element in the context menu.
    An inspector window opens with the HTML of the element highlighted.
  3. In the highlighted HTML, find the HTML ID or Name for that element.
    HTML.png

Was this article helpful?

10 out of 27 found this helpful