top of page
HTML Paragraphs
The HTML <p> element defines a paragraph.
A paragraph always starts on a new line, and browsers automatically add margin before and after the paragraph.
<!DOCTYPE html>
<html>
<body>
<p>This is a paragraph.</p>
<p>ELOGI TECHNOSOLUTIONS.</p>
<p>ELOGIC ACADEMY.</p>
</body>
</html>
This is a paragraph.
ELOGI TECHNOSOLUTIONS.
ELOGIC ACADEMY.
HTML Horizontal Rules
The <hr> tag defines a horizontal rule.
<!DOCTYPE html>
<html>
<body>
<h1>This is heading 1</h1>
<p>This is some text.</p>
<hr>
</body>
</html>
This is heading 1
This is some text.
HTML Line Breaks
The HTML <br> element defines a line break.
<!DOCTYPE html>
<html>
<body>
<p>ELOGIC TECHNOSOLUTIONS<br>PRESENT<br>ELOGIC ACADEMY.</p>
</body>
</html>
ELOGIC TECHNOSOLUTIONS
PRESENT
ELOGIC ACADEMY.
bottom of page