HTML Paragraphs
<p> tag is used to write paragraph and text on web page.
Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<p>
Lorem ipsum dolor sit, amet consectetur adipisicing elit.
Fugiat recusandae nam tenetur libero ab at quaerat aperiam magni voluptatibus,
ipsum fuga voluptatem eveniet, soluta est totam pariatur? Necessitatibus,
nam repellendus.
</p>
</body>
</html>
HTML Horizontal Rules
The <hr> tag sets the horizontal rule on the HTML page. Separates other tags.
Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Heading</h1>
<hr>
<p>Paragraph</p>
</body>
</html>
HTML Line Breaks
The <br> tag is used to provide line break between text in HTML page.
Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<p>Lorem ipsum dolor sit <br> amet consectetur adipisicing elit. Incidunt, eligendi.</p>
</body>
</html>
HTML Pre Element
The way the text is written. <pre> tag is used to show the HTML page text in that way.
Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<pre>
Lorem ipsum dolor sit,
amet consectetur adipisicing elit.
Quo unde vel cumque natus aut
culpa error? Iste, qui sequi.
Minima!
</pre>
</body>
</html>