label block element javascript code example Example: are h1 block elements <h1> through <h6> are block level elements taking up their own line.