As stated by colleagues, each Browser has its default style sheet (usre-agent css). Here you can read about it What is User Agent StyleSheets?
Another point that you can check for this is crossbrowser , where each rendering engine has its own particularities and you need to use Vendor Prefix for the classes to work in each different browser, you can read about it here Do you need to add prefixes in some CSS properties?
It is even due to this CSS difference of the user-agents that there exist "methodologies" such as u CSS.Normalize (tries to leave all browsers with the same visual aspect) and CSS Reset (remove default values of all class) , you can read about it here: CSS Reset or Normalize?
CSS.Normalize project: link (creator words)
NOTE: Note that this option uses different floats for HTML and Body
html {
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
body {
margin: 0;
}
CSS Reset: link (there are several others)
OBS: Notice that this guy "zeroes" values for almost everything rss
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
And here is a list of CSS Default values suggested by W3C: link
html, address,
blockquote,
body, dd, div,
dl, dt, fieldset, form,
frame, frameset,
h1, h2, h3, h4,
h5, h6, noframes,
ol, p, ul, center,
dir, hr, menu, pre {
display: block; unicode-bidi: embed
}
Here is a list of CSS default values for most elements link
Only a reference image about the <h1>
tag in Chrome and FF Quantum. Note that even without putting a CSS the Browser itself has its default style sheet. And this can vary from Browser to Browser as stated above ...