HTML Paragraphs Examples
HTML Paragraphs Examples
<!DOCTYPE html>
<html>
<head>
<title>HTML Paragraphs Example</title>
</head>
<body>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
</html>
Output
HTML use of line breaks Example
<!DOCTYPE html>
<html>
<head>
<title>HTML use of line breaks Example</title>
</head>
<body>
<p>This is<br>a paragraph<br>with line breaks</p>
</body>
</html>
Output
Line breaks and spaces with the <pre> Tag Example
<!DOCTYPE html>
<html>
<head>
<title>Line breaks and spaces with the <pre> Tag Example</title>
</head>
<body>
<pre>
My Name is Ammu.
I Live in Telangana
My Best Friend is Ali
He is Very Handsome
</pre>
</body>
</html>
Output