<hr> for a line

The hr element represents a paragraph-level break, a horizontal line across the page.

 
<!DOCTYPE HTML> 
<html> 
<head> 
<title>Example</title> 
</head> 
<body> 
    <p>This is a paragraph.</p> 
    <hr/> 
    <p>This is a paragraph.</p> 
    <hr/> 
</body> 
</html>
  
Click to view this demo.
Home 
  HTML CSS Book 
    HTML  

Related: