Html Text Formatting in Hindi – Html Tutorial in Hindi

text formatting in html in hindi
text formatting in html in hindi

Hey Guys! Humne apne pehle html tutorials me baat ki thi html styles ke baare me . aaj ke si topic me hum baat karenge html text formatting ki. Jab bhi hum html me koi bhi text ko insert karte hain to hume formatting ka use karke different type ke texts ko insert kr skte hain. Hum ek ek karke sabhi elements ko read karenge is post me. To bina time waste kiye shurue krte hain hum aaj ki post. Html tutorial in hindi, html text formatting in hindi, text formatting in html in hindi, text in html in hindi, html text in hindi, html text formatting html elements in hindi.

Example of Text Formatting in Hindi

<!DOCTYPE html>

<html>

<body>

<p><b>This text is bold</b></p>

<p><i>This text is italic</i></p>

<p>This is<sub> subscript</sub> and <sup>superscript</sup></p>

</body>

</html>

Ye example aapko html text formatting smjhane ke liye btaya gya hai. Upar humne jo code likha aap uska result is image me dekh skte hain. To aaj hum isi type ki formatting ke baare me detail me discuss karenge.

Example of text Formatting in Hindi

Html Text Formatting Elements in Hindi

Humne apne pichle tutorial me aapko style attribute ke baare me btaya tha. To jaise hum is attribute ko use karke apne web page ko design karte the. vaise hi html me text ko customize karne ke liye bhi html me kuch special elements ko bnaya gya hai. Jaise ki me aapko ek example deta hu agar aap html me <b> ya fir <i> in tags ka use krke apne text ko likhenge to aapko output me text bold or italic milega. isme <b> tag bold ke liye or <i> tag italic ke liye use hota hai. Aise hi humare paas bahut saare elements hai. Vo saare elements aapko niche diye gye hain.

  • <b> – Text ko bold karne ke liye
  • <strong> – Agar koi Important text ko highlight krna hai to aap iska use kr skte hain.
  • <i> – Text ko Italic krne ke liye.
  • <em> – Emphasized text ka meaning same italic jaisa hi hai, bas ye italic ke saath important text ko likhne ke liye use hota hai
  • <mark> – Kisi bhi text ko mark krne ke liye
  • <small> – Small text likhne ke liye
  • <del> – Deleted text jaise ki aapne online shopping sites me price ko dekha hoga usme price ke upar line bani hoti hai vaisa text likhne ke liye.
  • <ins> – Inserted text isliye use hota jaise aap kahin show krna chahte ho ki aapne is text ko insert kiya hai kisi sentence ke beech me.
  • <sub> – Subscript text use hota hai jaise aap Carbon dioxide ka chemical formula likhna chahte ho to vahan hum use kr skte hain.
  • <sup> – Superscrip text vahan use hota hai jahan aap mathematics me square ka use krna chahte ho.

In Sabhi Elements ko hum ek ek karke example ke saath aage read karenge jisse aapko smjhne me asaani hogi.

<b> Element In Html

Jaise ki humne pehle btaya hai ki agar aap kisi text ko bold krna chahte ho to is tag ko use karenge. Chaliye Iska ek example lete hain.

<!DOCTYPE html>

<html>

<body>

<p>This text is normal.</p>

<p><b>This text is bold.</b></p>

</body>

</html>

Result:

Exampe of <b> tag

<strong> Element In Html

<strong> element bhi <b> element ki tarah hi hota bss is element ko hum vahan use karte hain jahan humne apne users ko show krna ho ki text important hai. Iska example hai:

<!DOCTYPE html>

<html>

<body>

<p>This text is normal.</p>

<p><strong>This text is strong.</strong></p>

</body>

</html>

Result:

<strong > element in html

<i> and <em> Elements In Hindi

Agar aap apne text ko italic me likhna chahte hain to aapko html me <i> element ka use karna hoga. <em> element k use bhi hum text ko italic kaarne ke liye krte hain pr agar apko apne users ko ye show krna hai ki ye ye text important hai sth me italic to <em> element ka use karenge. chaliye iska ek example lete hain jisse apko smjhne me asaani hogi.

<!DOCTYPE html>

<html>

<body>

<p>This text is normal.</p>

<p><i>This text is italic.</i></p>

</body>

</html>

Result:

<i> element in html

<!DOCTYPE html>

<html>

<body>

<p>This text is normal.</p>

<p><em>This text is emphasized.</em></p>

</body>

</html>

Result:

<em> element in html

<small> Element In Html

Agar aap apne poore paragarph me sirf kuch words small likhna chahte ho to aapko <small> element ka use karna hoga. Iska example hai:

<!DOCTYPE html>

<html>

<body>

<h2>HTML <small>Small</small> Formatting</h2>

</body>

</html>

Result:

<small> element in html

<mark> Element In Html

Jab bhi hum apne paragraph me kisi text ko mark ya highlight krte hain to hum is element ka use karte hain. Iska Example lekr isko achhe se smjhte hain.

<!DOCTYPE html>

<html>

<body>

<h2>HTML <mark>Marked</mark> Formatting</h2>

</body>

</html>

Result:

<mark> element in html

<del> Element in Html

is element ka use hum vahan krte hain jahan hume apne text me show krna ho ki ye deleted ye removed text hai. Jaise ki aapne online stores websites me dekha hoga. usme price pr ek cut lga hota hai usko deleted text kehte hain. Chaliye iska example dekhte hain.

<!DOCTYPE html>

<html>

<body>

<p>The del element represents deleted (removed) text.</p>

<p>My favorite color is <del>blue</del> red.</p>

</body>

</html>

Result:

<del> element in html

<ins> Element In Html

Jab hume apne paragraph me koi bhi inserted text show krna hota hai to hum is element ka use karte hain. Iska example kuch is tarah hai.

<!DOCTYPE html>

<html>

<body>

<p>The ins element represent inserted (added) text.</p>

<p>My favorite <ins>color</ins> is red.</p>

</body>

</html>

Result:

<ins> element in html

<sub> Element In Hindi

<!DOCTYPE html>

<html>

<body>

<p>This is <sub>subscripted</sub> text.</p>

</body>

</html>

Result:

<sub> element in hindi

<sup> Element In Hindi

<!DOCTYPE html>

<html>

<body>

<p>This is <sup>superscripted</sup> text.</p>

</body>

</html>

Result:

<sup> Element in Hindi

To Aaj humne Text formatting elements ke baare me pdha. M Asha krta hu ki aapko is post me kuch naya sikhne ko mila hoga. Agar aapko ye post achhi lagi hai to aap is post ko apne familiy friends ke saath share kr skte hain. Or iske allawa agar aapke koi questions ya doubt hai to aap niche comments section me puch skte hain. Tab tk ke liye Jai Hind!

About Rishabh Pathania 24 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.


*