When your using “inspect the element” to find code is there a way to fine out where that code ( html ) is held. It tells you the name of the css files and line for css but how do you tell what files the html is in?
Many thanks
When your using “inspect the element” to find code is there a way to fine out where that code ( html ) is held. It tells you the name of the css files and line for css but how do you tell what files the html is in?
Many thanks
Hi safak456654, welcome to the forums!
The html file name is usually in the browser’s address field, though that may not always show the file path.
You didn’t mention what browser you use, the inspect tool has different options in different browsers. So I just take Chrome as a common example.
In the inspector’s menu bar you could find all files relating to the html file you have loaded by using the “Sources” button. In the “Page” tab in the left panel you have the site’s whole directory tree, and the selected file would show in the Middle panel.
If you happen to use another browser, please post again.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.