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

image_5.png

Steps

  1. Right-click on the element.
  2. Click on Inspect within the popup menu.

Outcome

A preview window pops up, highlighting the webpage's HTML, where you can find the HTML ID or Name for that element.

image_6.png

Was this article helpful?

0 out of 1 found this helpful