HTML Paragaphs in Hindi [Lesson 7] – Html Tutorial in Hindi

Html Paragraphs in Hindi
Html Paragraphs in Hindi

Hey Guys Kaise Hain aap Sab ! To Humne Apne Tutorial ki is series me discuss kiya tha html headings ke baare me aaj hum baat karenge ki html me paragraphs kaise likhen jaate hain. Jab bhi aap aap apne webpage me kisi paragraph ko  insert krna chahte hain to aapko bahut saari baaton ka dhayaan rkhna hoga aaj hum vo saari cheezen discuss karenge. To bina time waste kiye hum shuru krta hain html paragraphs in hindi, html tutorial in hindi

Paragarphs in Html hindi

Html ke andr paragraph ko likhne ke liye hum <p></p> is tag ka use karte hain. In tags ke beech me aap koi bhi text likhenge to html me vo text aapka paragraph maana jaayega. Isko samjhne ke liyte ek example smjhte hain.

<!DOCTYPE html>

<html>

<body>

<p>This is a paragraph.</p>

<p>This is a paragraph.</p>

<p>This is a paragraph.</p>

</body>

</html>

html paragraphs in hindi
html paragraphs in hindi

Paragraph Display In Html Hindi

Ab baat krte hain ki jab bhi aap koi paragraph html ki coding me likhte hain to vo aapke main webpage pr kaisa dikhega. Maan lijiye aapko ek parahgraph me bahut saare spaces daalne hai to kya aapke main web page pr bhi vo space dikhenge? Iska ans hai nahi. Humare html webpage me jo final result aata hai paragraph ka uske anda vo words ke beech me ek space ke baad saare spaces ko neglect kr deta hai. Neeche image dekhkar aapko zyada achhe se clear ho jaayega.

<!DOCTYPE html>

<html>

<body>

<p>

This paragraph

contains a lot of lines

in the source code,

but the browser

ignores it.

</p>

<p>

This paragraph

contains       a lot of spaces

in the source     code,

but the     browser

ignores it.

</p>

<p>

The number of lines in a paragraph depends on the size of the browser window. If you resize the browser window, the number of lines in this paragraph will change.

</p>

</body>

</html>

html paragraphs in hindi
html paragraphs in hindi


Upar example dekh kar aapko samjh aa gya hoga ki aapke browser me aise koi bhi space nahi dikhega or na hi line breaks dikhengi. Hum aage discuss karenge ki aap kaise spaces or line breaks insert kr skte hain html paragraphs me.

Html Line Breaks in Hindi

Html ke andr <br> tag line break ko define karta hai. Agar aapko ek hi paragraph me line breaks include karne hain to aapko <br> tag ka use karke line breaks include karne honge. Ek cheez yaad rakhiyega ki <br> tag ek empty tag hai iska matlab ki is tag ka koi bhi end tag nahi hoga.  Iska ek example dekh lete hain jisse aapko smjhne me asaani hogi.

<!DOCTYPE html>

<html>

<body>

<p>This is<br>a paragraph<br>with line breaks</p>

</body>

</html>

html paragraphs in hindi
html paragraphs in hindi

The Poem Problem In Html Paragarphs in Hindi

Poem problem ka matlab hai ki, Aapne jyadatar poems me dekha hoga ki vo ek hi paragarph me likhin jaati hain pr har ek line ke baad ek line break hota hai. To Jab bhi hum kisi poem ko paragraph me likhte hain to kuch hume kuch aisa result milta hai.

<p>
  My Bonnie lies over the ocean.

  My Bonnie lies over the sea.

  My Bonnie lies over the ocean.

  Oh, bring back my Bonnie to me.
</p>

html paragarphs in hindi
html paragarphs in hindi

<pre> Element in Html in Hindi

<pre> tag hum preformatted text ko likhne me help krta hai. Or ye poem problem ko bhi solve karta hai. Agar aap koi bhi poem likhna chahte hain apne paragraph ke andr aapko <pre> tag use karna padega. Image ko dekh kar aapko samjh aa jaayega.

<!DOCTYPE html>

<html>

<body>

<p>The pre tag preserves both spaces and line breaks:</p>

<pre>

   My Bonnie lies over the ocean.

   My Bonnie lies over the sea.

   My Bonnie lies over the ocean.

   Oh, bring back my Bonnie to me.

</pre>

</body>

</html>

html paragarphs in hindi
html paragarphs in hindi

To Guys aaj ke liye bs itna hi tha. I hope aapko html headnigs ke baare me ab koi bhi doubt nahi hoga. Agar aapko html headings se related koi bhi doubt hai to aap neeche comments section me pooch skte hain. Iske allawa aapki agar koi suggestion hai to bhi aap neeche comments section me bta skte hain. Agar aapko ye post achhi lagi ho to aap apne friends or family ke saath isko jarur share karein. Tab tk ke liye dhnyawaad Jai Hind.

About Rishabh Pathania 19 Articles
I am full time blogger and love to write about technology and online money.

Be the first to comment

Leave a Reply

Your email address will not be published.


*