PDF

HTML5 is the latest version of the language used to create web pages. A paragraph in HTML5 is a block of text that forms a separate section, much like a paragraph in a book. To create a paragraph, you use the <p> tag. Everything between <p> and </p> will be considered as one paragraph by web browsers.

For example, if you want to write the sentence "Hello, welcome to my website." as a paragraph, you would write it like this:

<p>Hello, welcome to my website.</p>

This tells the browser to display the sentence as a distinct paragraph on the page. Using paragraphs helps make your text easy to read and well-organized.


Ask a followup question

Loading...