0% found this document useful (0 votes)
42 views

Paragraph HTML

The document discusses HTML paragraph tags and how they are used to create paragraphs in HTML documents using opening and closing <p> tags. It provides an example of HTML code using multiple <p> tags to contain different paragraphs and a table listing common attributes of the <p> tag.

Uploaded by

Sourabh Bhandari
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

Paragraph HTML

The document discusses HTML paragraph tags and how they are used to create paragraphs in HTML documents using opening and closing <p> tags. It provides an example of HTML code using multiple <p> tags to contain different paragraphs and a table listing common attributes of the <p> tag.

Uploaded by

Sourabh Bhandari
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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