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.
Solution 1 :
Solution 2 :
The meta tag should be in the head
Problem :
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.
Comments
Comment posted by John Walthall
Oh, thanks, that’s really helpful. Follow up question: is there a way to use window.setinterval without the browser interfering with it?
Comment posted by ask a new question
@JohnWalthall I’m not sure what you mean exactly. I’d recommend that you