How To 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).  

Screen_Shot_2017-09-27_at_10.59.45_AM.png 

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.  

Screen_Shot_2017-09-27_at_11.04.43_AM.png

Was this article helpful?
0 out of 0 found this helpful