What is this called and is there a difference in using a # or anothing at all in front?

What is this this called: #html, #body {

  • in front of the CSS code block, and as my topic tells you:
    Is there a difference in using a # sign or nothing at all? In my world it works anyway. I know the difference in # and . So dont bother telling me that. I just want an answer about the difference between # and nothing at all.
    examp:

#html, #body {

}
html, body {

}

when you put the # it’s an id selector

I am confused, do you know or not know what # does?

it is an id selector, it select elements with the matching id="..."

without anything it is a type selector

yes, i know it is an id selector with the #, but my question was:
Is it a id selector without the # sign? Because when I tried with nothing in front of it, it works the same way as with a # in front.

no, it’s not

did you give the elements an id equal to their name? like <main id="main">? that would be the only reason it works the same

a type selector matches elements of that type

Thank you for enlightening me and guiding me in the right direction.