Headings H1–H6
Create document structure with heading levels
Markdown Source
# Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6
Rendered HTML Output
<h1>Heading 1</h1> <h2>Heading 2</h2> <h3>Heading 3</h3> <h4>Heading 4</h4> <h5>Heading 5</h5> <h6>Heading 6</h6>
Explanation
Use 1–6 hash symbols (#) at the start of a line. Optionally, ATX-style allows closing hashes: ## Heading ##. Setext-style uses underlines for h1 (===) and h2 (---).
Tips & Common Mistakes
- Use only one h1 per page for SEO. Keep heading hierarchy logical (don't skip from h2 to h4).
Related Markdown Examples
Try It
Markdown Preview Tool →All Examples
Markdown Tables with AlignmentImages with Alt TextFenced Code Blocks with Syntax HighlightingLinks (Inline, Reference, Auto)Bold, Italic, StrikethroughOrdered and Unordered ListsBlock QuotesHorizontal RulesTask Lists / CheckboxesFootnotesEmoji ShortcodesNested ListsEscaping Special CharactersDefinition Lists