SkillSeevaSkillSeeva
HomeResourcesScheduleRoadmapTeam
Back to Categories
Current Path
HTML5
Introduction & BasicsHTML ElementsAttributesHeadings & ParagraphsStyles & ColorsLinks (Anchors)Images & ResponsiveTablesListsBlock vs InlineClasses & IDsForms & Input TypesSemantic HTMLMeta Tags & SEOVideo & AudioPerformance OptimizationAccessibility (ARIA)Web APIs (Geo, D&D)
Jump to topic:
Introduction & BasicsHTML ElementsAttributesHeadings & ParagraphsStyles & ColorsLinks (Anchors)Images & ResponsiveTablesListsBlock vs InlineClasses & IDsForms & Input TypesSemantic HTMLMeta Tags & SEOVideo & AudioPerformance OptimizationAccessibility (ARIA)Web APIs (Geo, D&D)

Headings & Paragraphs

HTML headings are defined with the <h1> to <h6> tags. Paragraphs are defined with the <p> tag.
html
<h1>Heading 1 (Most Important)</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
Browsers automatically add some white space (a margin) before and after a heading or a paragraph.
4 / 18