How do I find an HTML ID or name?

  • Updated

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, Inspect element is available from the context menu when you right click on the webpage (shown here in Chrome).


To find the HTML ID or Name for a specific element you can:

  1. Right-click on the element.
  2. Click on Inspect within the popup menu.
  3. A preview window will popup highlighting the webpage's HTML. There you'll be able to find the HTML ID or Name for that element.



Was this article helpful?

15 out of 42 found this helpful