← All Lessons
LESSON 04

Text & Headings

Is lesson mein aap seekhenge ki HTML mein headings, paragraphs aur text ko kaise add aur organize kiya jata hai.

📝 HTML Headings Kya Hain?

Hindi

HTML mein headings ka use webpage ke important titles aur sections ko dikhane ke liye kiya jata hai.

HTML mein h1 se lekar h6 tak six heading levels hote hain.

English

HTML headings are used to display titles and section headings on a webpage.

HTML provides six heading levels from h1 to h6.

🔢 Heading Levels

Hindi

h1 sabse important aur generally sabse badi heading hoti hai. h6 comparatively chhoti heading hoti hai.

<h1>Main Heading</h1>

<h2>Section Heading</h2>

<h3>Sub Heading</h3>

<h4>Heading 4</h4>

<h5>Heading 5</h5>

<h6>Heading 6</h6>

English

The heading levels help organize webpage content from the most important heading to smaller subheadings.

⭐ H1 Heading

Hindi

<h1> ko main heading ke liye use kiya jata hai. Example:

<h1>ONLINE MARKETPLACE INDIA</h1>

English

H1 is commonly used for the main heading of a webpage.

📚 H2 & H3 Headings

Hindi

H2 ka use main sections ke liye aur H3 ka use un sections ke sub-sections ke liye kiya ja sakta hai.

<h2>Our Services</h2>

<h3>Web Development</h3>

<h3>Digital Marketing</h3>

English

H2 can be used for major sections, while H3 can be used for smaller sections inside them.

📄 Paragraph Kya Hai?

Hindi

Paragraph ke liye HTML mein <p> tag use kiya jata hai. Isme normal text ya information likhi ja sakti hai.

<p>
Welcome to my website.
</p>

English

The paragraph element is used to display normal text and information on a webpage.

📖 Multiple Paragraphs

Hindi

Website par alag-alag information ko alag paragraphs mein likhne se content ko read karna easy hota hai.

<p>
We create professional websites.
</p>

<p>
Our websites are responsive and modern.
</p>

English

Using separate paragraphs makes webpage content easier to read and understand.

✨ Basic Text Formatting

Hindi

HTML mein kuch tags text ko special format mein dikhane ke liye use kiye ja sakte hain.

<b>Bold Text</b>

<i>Italic Text</i>

<strong>Important Text</strong>

<em>Emphasized Text</em>

English

Basic formatting elements can make text bold, italic or emphasized.

💻 Complete Example

Hindi

Ab heading aur paragraph ko ek webpage mein saath use karein:

<h1>My Website</h1>

<h2>About Us</h2>

<p>
Welcome to our professional website.
</p>

<h2>Our Services</h2>

<p>
We provide modern website solutions.
</p>

English

This example shows how headings and paragraphs can be organized to create readable webpage content.

💡 Important

Headings webpage ke content ko organize karti hain aur paragraphs information ko readable banate hain. Proper heading structure website ko samajhne mein easy banata hai.