Skip to content

Instantly share code, notes, and snippets.

@adeisbright
Created August 17, 2021 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adeisbright/ba3584d1d565a793f258002359576e37 to your computer and use it in GitHub Desktop.
Save adeisbright/ba3584d1d565a793f258002359576e37 to your computer and use it in GitHub Desktop.
Create HMTL paragraphs

PARAGRAPH

A paragraph is a distinct section within a document covering one topic. It must start on a new line, and can contain more than one sentence. Paragraphs can be indented for visual appeal or left unattended to. The paragraph element is used for creating paragraphs in HTML. The character that represents this element is: “p”

To create a paragraph, use the general format below:

Your content

Let us use the example below to demonstrate working with paragraphs. Follow the step used in our last lesson to create a new file within your current working directory. This file should be name paragraph.html

Fig 3.1 Paragraph.html illustrating how to use a paragraph

Fig 3.2 Output of paragraph.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment