मराठी

Explain the purpose of the following tag: <HR> - Computer Applications

Advertisements
Advertisements

प्रश्न

Explain the purpose of the following tag:

<HR>

स्पष्ट करा
Advertisements

उत्तर

The <hr> tag stands for Horizontal Rule. Its purposes are:
  1. Thematic Break: It is used to create a physical separator or a break in the content, indicating a shift in the topic or a new section.
  2. Visual Separation: It draws a horizontal line across the width of the page to visually divide different parts of a webpage.
  3. Empty Tag: It is an empty (void) tag, meaning it does not require a closing tag (</hr>).
<h1>Chapter 1</h1>
<p>Content of chapter 1...</p>
<hr>
<h1>Chapter 2</h1>
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2025-2026 (March) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×