Web Development Cheat Sheet

HTML Semantic Elements

There are roughly 100 semantic elements in HTML. Below are some of them.

Tag Name Description
<article> Article A self contained independent composition
<section> Section A generic standalone section of a document
<header> Header An introductory content
<footer> Footer Footer for nearest ancestor sectioning content or sectioning root element

Non-semantic HTML elements

Non-semantic HTML elements tell nothing about their content. Below are some examples of them.

Tag Name Description
<div> Div A generic container for flow content
<span> Span A generic inline container for phrasing content