html tag in h1 code example Example: how to write h1 tag in html <h1>This is an h1(Heading 1) tag <h1>