साँचा:Paragraph break/doc

मुक्त ज्ञानकोश विकिपीडिया से
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

Usage

This template produces a "visual paragraph break" using an empty <div></div> tag pair.

Example:

साँचा:xt

produces:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.साँचा:paragraph breakLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Purpose

In some instances, it is not possible to introduce paragraph breaks using newlines alone. For example, within a list item and within references. However, using <p> tags can cause problems for navigation with screen readers, which expect these tags to delimit paragraphs of prose. This template is used mostly in footnotes, where a visual break is desired, without adding an additional paragraph navigation point.

Example 1

The following reference uses line breaks for multiple lines.[१] The following reference uses the paragraph break template for paragraph breaks.[२] The following reference uses <br /> tags for paragraph breaks.[३]

Notes साँचा:reflist

Example 2

Consider the following list

  1. Paragraph 1a साँचा:paragraph break Paragraph 1b
  2. Paragraph 2

which was generated using

# Paragraph 1a {{paragraph break}} Paragraph 1b
# Paragraph 2


  1. Paragraph 1a Paragraph 1b
  2. Paragraph 2aसाँचा:paragraph breakParagraph 2b
  3. Line 3a
    Line 3b