0
What html == $0 is mean?
I'm learning the basics of html. I wrote my code, inspected the page and it showed this html == $0. What it means?
12 Answers
+ 7
It was added by the element inspector. $0 means it's the most recent selected DOM node index. with $1 being 2nd most recent and so on.
check the below SO questions they explain it in brief.
https://stackoverflow.com/questions/36999739/what-does-0-double-equals-dollar-zero-mean-in-chrome-developer-tools
https://stackoverflow.com/questions/37721436/what-is-spancontent-span-0-mean-in-html
+ 5
I think it's a notation for regular expressions, but I could be wrong.
+ 2
did you write an html code on code playground or in a seperate file
+ 1
now that you came to that, i often see it at values like this; value==$0
+ 1
Roel in that case it's browser specific, on my phone right now, can't check
+ 1
I'm following a course outside sololearn and it seems like authors does't answer to anybody. It's only a curiosity, nothing else.
+ 1
@hinanawi No, I use atom program, like the author said to install.
0
whats the difference?
0
Roel code playground is a simulated enviornment and so probably has some additional things that come up if you do "inspect element" as opposed to a plain html document
0
oooh no in that case its showing up on the whole internet
0
Parsix3 in that case i can't say for sure, don't use the program specified
0
does the == 0$ have an influence on google attribution of the link? I am building links for the sites and I would like to know if it is redundant when the A href=" www.mybaser.dk " target="_blank" class="postlink"> ==$0 or A href=" www.mybaser.de "rel="follow" target="_blank" class="postlink"> ==$0
or is it only the rel= follow or rel= nofollow that have an influence on this?
Best
O Jensen