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

image_5.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.

image_6.png

 

Was this article helpful?

13 out of 36 found this helpful