Web Design Lesson 005 – HTML Paragraphs and Headings

HTML Paragraphs

HTML element <p> specifies a paragraph. Try this out:


HTML Headings

Elements for specifying headings in HTML pages are h1,h2,h3,h4,h5 and h6.

h1 specifies the largest and most important heading and h6 the smallest heading.

Try this:

<h1>Heading 1</h1>
<p>Text under Heading 1.</p>
<h2>Heading 2</h2>
<p>Text under Heading 2</p>
<h3>Heading 3</h3>
<p>Text under Heading 3.</p>
<h4>Heading 4</h4>
<p>Text under Heading 4.</p>
<h5>Heading 5</h5>
<p>Text under Heading 5.</p>
<h6>Heading 6</h6>
<p>Text under Heading 6.</p>

Leave a Reply

Your email address will not be published. Required fields are marked *