Back to HTML Course

HTML Course

HTML paragraphs are defined with <p> tags. You can add as many paragraphs as you want with this tag.

Browsers automatically add a single blank line before and after each <p> element.

<p>First Paragraph</p>

Add a "tooltip" to the paragraph

<p title="blog">Praveen Orugantinical blog.</p>

HTML

<h2>HTML</h1> <p>This is HTML</p> <p>This is HTML</p> <h2>CSS</h1> <p>This is CSS</p> <p>This is CSS</p> <h2>JavaScript</h1> <p>This is JavaScript</p> <p>This is JavaScript</p>

CSS

body { background-color: lightgreen; font-family: "Courier New", Courier, monospace; } h2 { background-color: darkgreen; color: white; padding: 15px; box-shadow: 0 0 10px black; border-radius: 10px; }

You can check out the Demo.