How To Find an HTML ID or Name


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?
1 out of 1 found this helpful