html P Tag

Html <p> tag is used to describe a paragraph and before and after itself and you can link to style sheets.

The HTML <p> tag standard attributes are class, dir, id, lang, style, title, xml:lang and event attributes are onclick, ondblclick, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup , onkeydown, onkeypress and onkeyup and optional attributes is align.

Syntax:

<p> ... </p>

Example Code

<!DOCTYPE HTML>
<html>
<body>
    <p> Sachin Tendulkar is greatest batsmen in the history of cricket</p>
</body>
</html>

Out Put :



Sachin Tendulkar is greatest batsmen in the history of cricket

In the above example <p> tag appiled to Sachin Tendulkar is greatest batsmen in the history of cricket at Text.





Content