Horizontal Lines
क्षैतिज रेखाओं का उपयोग किसी दस्तावेज़ के अनुभागों को दृष्टिगत रूप से विभाजित करने के लिए किया जाता है। <hr> टैग दस्तावेज़ में वर्तमान स्थिति से दाहिने हाशिये तक एक रेखा बनाता है और उसी के अनुसार रेखा को तोड़ता है।
उदाहरण के लिए, आप नीचे दिए गए उदाहरण के अनुसार दो अनुच्छेदों के बीच एक रेखा देना चाह सकते हैं –
<!DOCTYPE html> <html> <head> <title>Horizontal Line Example</title> </head> <body> <p>This is paragraph one and should be on top</p> <hr /> <p>This is paragraph two and should be at bottom</p> </body> </html>
This will produce the following result −
This is paragraph one and should be on top
This is paragraph two and should be at bottom