Html Tutorial : Text Formatting Tags Kya Hoti Hai Jane Hindi Me

Hello, dosto pahale 2 post me humne jana ki html kya hai aur uska basic syntax kya hai. Webpage create karane ke liye hum kin kin softwares ki jarurat hoti hai ye humne dekha. Aaj hum janege html text formatting tags ke bare me.

Html Text Formatting Tags Kya Hoti Hai

Html Tags ke 2 Prakar hote hai.

1. Paired tag: Paired tag wo tag hota hai jo jiska opeaning aur closing is prakar ke 2 tag hote hai use paired tag kaha jata hai. Jaise ki
<p> Paragraph </p> is example me <p> aur </p> <p> ek opeaning tag hai aur </p> closing tag hai. Dono ko paired tag kaha jata hai.






2. Unpaired tag: Unpaired tag wo tag hote hai jinka sirf opeaning tag hi hota hai unko closing tag ki jarurat nahi hoti.
e.g. <br>, <hr> ye unpaired tags hai.
<br> Ka use hota hai line break karane ke liye yane aapko agar new line ko kuch likhana hai to aapko <br> tag insert karani padati hai.
<hr> Ye ek horizontal line banane ke liye use hoti hai.


Html Text Formatting tags kya hoti hai?

Html text formatting tags wo tags hoti jinka use text ko aakarshak banane ke liye kiya jata hai. Agar hum text ko aakarshak nahi banayenge to use read karate waqt bor ho jayega isliye hume text ko format dena padaga.

Text Formatting Tags:

1. <b> </b> bold tags: Text ko blod banane ke liye is tag ka use kiya jata hai.

2. <i> </i> Italic tag: Text ko italic effect dene ke liye.

3. <u> </u> Underline: Text ko underline karne ke liye.

4. <strike> </strike> strikethrough: Agar kisi text ko aapko nahi dikhana yane aapne use to kiya hai par uska koi fayda nahi to phir use hum strikethrough ke jariye ignore kar sakate hai. Jisse us text par center se ek horizontal line ban jayegi. E.g. strikethrough






Example 1: Aap is e.g. se easy samaj jayenge ki inka use kya hai.


Output: 
Output text formatting tag ka


Font Size Aur Font Color:

Ab hum ye janate hai ki font ki yane text ki size kaise badaye aur usko color kaise de.

Font Size Ka Syntax:
<font size=”font size”>Jis text ki size badani hai wo text </font>

Agar hume apne text ko color dena hai to hume niche diya gaya syntax use karana hai.

Font color Ka Syntax:
<font color=”color name”> Jis text ka color change karana hai wo text </font>

Color name: me aap direct color ka naam de sakate hai jaise red, yellow, ya phir color ki hexadecimal me jo value hoti hai wo bhi de sakate hai.

Example :

Output: 
font size aur font color ka output


Html Text Alignment:

Agar hume html me humare text ko alignment deni hai to uske liye alag se tag ka use kiya jata hai. Text alignment karane se aapke webpage user ko attract karata hai, user text read karate waqt bor nahi hota.





Html Text Alignment Syntax:

Jis ko hume alignment deni hai uski ke bich me hume align ka use karana hai.

Agar mujhe <h1> heading ko alignment deni hai to mai kuch is prakar dunga.
<h1 align=”right”> Text <h1>
<h2 align=”left”> Text <h2>
<h3 align=”left”> Text <h3>

Alignment dene ke liye hum three attributes ka use kar sakate hai jaise left, right, ya phir center.

Example:


Output:
text alignment ka outuput


Dosto agar aapke webpage ko aapko attractive aur professional banane hai to aapko sabhi text formatting tags, text alignment ka sahi sahi use karane padata hai.

Aasha karata hu ki aapko meri ye post acchi lagi hogi aur agar aapko koi pareshani ho to niche comment karana na bhule.
Previous Post
Next Post

Completed Master Degree in Computer Science.Passionate about Blogging,Make Money and Web-Designing.Best Knowledge of HTML,PHP,.NET,C,C++ and other programming languages. Know More About Me...

Related Posts

0 Comments: