You are on page 1of 1

HTML PARAGRAPH

The paragraphs are created in HTML using <p> tag. The paragraph should start with
<p> tags and end with corresponding <p> end tag. The following code will make it
more clear :

<html>
<head>
<title>Paragraph tag</title>
</head>
<body>
<p>This is first paragraph of my document.</p>
<p>This is second paragraph of my document.</p>
</body>
</html>

The following table specifies the attributes of the paragraph tag :

Attributes align, class, dir, id, lang, onDblClick, onKeyDown,


onKeyPress, onKeyUp, onMouseDown, onMouseMove,
onMouseOut, onMouseOver, onMouseUp, style, title.

© Copyright Sourabh Bhandari http://sourabhandari.in

You might also like