Menu ▼

Previous Next

<hr /> :

<hr /> tag will be used for creating horizantal line.

Syntax :

<hr />


Example :

<html>

<head>

    <title>HTML Tutorial</title>

</head>

<body>

    <p>

        After this paragraph I have added an horizantal line.</p>

    <hr />

    <p>

        After this paragraph I have added two horizantal lines.</p>

    <hr />

    <hr />

</body>

</html>


Output :
HTML Tutorial

After this paragraph I have added an horizantal line.


After this paragraph I have added two horizantal lines.



Previous Next




Search dotnetlearners.com