HTML Part : 5 - Html Heading Tag..


HTML  এ  heading tag  একটি গুরুত্বপূর্ণ  tag.
সাধারনত heading tag এর  মাধ্যমে কোন প্যারাগ্রাফের শিরোনাম লিখতে ব্যবহৃত হয় । 

HTML নিয়ে ধারাবাহিক আজকের এই ৫ম পর্বে  আমরা heading  এর কোডিং পদ্ধতি সম্পর্কে আলোচনা করব —

Heading Tag কি ? 
HTML এর মাধ্যমে কোন document বা প্যারাগ্রাফের শিরোনাম লেখার জন্য heading tag  ব্যবহার করা হয়। HTML এ মোট ছয় ধরণের heading tag রয়েছে।

এগুলো হল —
<h1>    </h1> 
<h2>    </h2> 
<h3>    </h3> 
<h4>    </h4> 
<h5>    </h5> 
<h6>    </h6> 

যদি সবচেয়ে বড় সাইজের অক্ষরে শিরোনাম লিখার প্রয়োজন হয় তাহলে <h1>  </h1>  tag এর  মাঝে লিখতে  হয়। 
আর  অন্যান্য heading tag গুলো ব্যবহার করলে লেখার সাইজ আস্তে আস্তে ছোট হবে।

Program Example —
<html>
<head>
<title> www.lincons-it.com</title>
</head>
<body bgcolor=" red">
<h1> Example of heading 1 </h1>
<h2> Example of heading 2 </h2>
<h3> Example of heading 3 </h3>
<h4> Example of heading 4 </h4>
<h5> Example of heading 5 </h5>
<h6> Example of heading 6 </h6>
</body>
</html>

এবার আপনার কম্পিউটারের  Notepad  টি  open  করে  উপরের code  টুকু  লিখে  file  মেনু  থেকে  Save as এ click  করে File name:  index.html   আর  Save as type : All files  - select  করে save করুন তারপর save হওয়া index.html ফাইলটি Mozilla Firefox দিয়ে open করুন।  Open করার পর নিচে  প্রদর্শিত ছবির মত দেখতে পাবেন ।




Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.