I don't think you just "typed' that into Notepad, but my point is that H1 is a formatting tag for a Heading. H1 is bigger than H2, which is bigger than H3.
Word has the same think. You can choose Normal, h3, h2, or h1 in the formatting dropdown. It's pre-defined.