Search code examples
htmldeveloper-tools

Why are some HTML elements grayed out in Developer Tools?


I have been working a little with HTML, but I can’t figure out why the developer tools are making certain elements gray. Any help would be nice.

html tags


Solution

  • Developer Tools grays out any non-visible elements. So, for example, the <head>, <meta>, and <title> tags are all grayed out, since they are not actually visible to the user. Similarly, an element with display: none will be grayed out. It's nothing to worry about—the browser is simply trying to be helpful.