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