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)

Block vs Inline

Every HTML element has a default display value. Block elements start on a new line and take up full width. Inline elements do not start on a new line.
  • Block: <div>, <h1>-<h6>, <p>, <form>, <header>, <footer>, <section>
  • Inline: <span>, <a>, <img>, <b>, <i>, <label>, <input>
10 / 18