HTML Heading and Paragraph | Html space between heading and paragraph.| Html heading and paragraph on the same line

Nouman Shoukat
1 min readApr 27, 2021
HTML Heading
HTML Heading

Heading and paragraph play an important role in HTML. Html heading vs paragraph, Heading is greater than a paragraph in size. Html heading and paragraph on the same line can be displayed. Html automatically puts space or margin between heading and paragraph. Html heading inside a paragraph can be by using CSS.

HTML Heading and Paragraph

HTML heading used for title or subtitle of page. Html offers six types of heading h1 to h6. H1 is the largest heading while h6 is the smallest. Customize heading can be made by using CSS. The paragraph is used to describe the content of the page.

Both are block-level elements. When the user uses multiple heading then the heading displays top to bottom while the paragraph also acts as a heading. Heading defines with h1, h2, h3, h4, h5, and h6 tag and paragraph p tag.

--

--