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?

30th Apr 2018, 8:18 PM
Parsix3
Parsix3 - avatar
12 Respostas
+ 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
1st May 2018, 2:54 AM
Lord Krishna
Lord Krishna - avatar
+ 5
I think it's a notation for regular expressions, but I could be wrong.
1st May 2018, 2:31 AM
Fox
Fox - avatar
+ 2
did you write an html code on code playground or in a seperate file
30th Apr 2018, 8:53 PM
hinanawi
hinanawi - avatar
+ 1
now that you came to that, i often see it at values like this; value==$0
30th Apr 2018, 8:34 PM
Roel
Roel - avatar
+ 1
Roel in that case it's browser specific, on my phone right now, can't check
30th Apr 2018, 9:04 PM
hinanawi
hinanawi - avatar
+ 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.
30th Apr 2018, 9:22 PM
Parsix3
Parsix3 - avatar
+ 1
@hinanawi No, I use atom program, like the author said to install.
30th Apr 2018, 9:23 PM
Parsix3
Parsix3 - avatar
0
whats the difference?
30th Apr 2018, 9:01 PM
Roel
Roel - avatar
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
30th Apr 2018, 9:02 PM
hinanawi
hinanawi - avatar
0
oooh no in that case its showing up on the whole internet
30th Apr 2018, 9:03 PM
Roel
Roel - avatar
0
Parsix3 in that case i can't say for sure, don't use the program specified
30th Apr 2018, 9:24 PM
hinanawi
hinanawi - avatar
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
6th Feb 2020, 4:22 PM
Ojensen