I want to see all values of attributes of any tag in HTML. Even if they are set in the tag or not in HTML. For example:
<div style="background-color:#000000;">
<p>abc</p>
</div>
I want to know how I can find the background color of <p>
. The reason is because there can be many ways to set a value of an attribute in a tag. For example: the value can be set in an external css file, javascript file, could be set by a parent tag, could be set in css in same page etc. But is always difficult to track to set value such as font size by reading whole code and opening its all files referenced in HTML code. I wanted to know value of font of a text enclosed in a <p>
but it is very difficult to search on whole page and its associated .js and .css file to search to find out from where the <p>
tag is picking its font values. So, I wanted to know that if I select the text in a browser then is there any way possible to show all the attributes and its values of selected text. Just like Visual Studio, Netbeans, Eclipse IDE etc. show all properties of any drag-and-drop object in the design interface.