HTML Part : 4 - Html attributes কি ?


HTML Attributes কি?  
HTML এ attributes  ইলিমেন্ট এর আনুসাঙ্গিক তথ্য প্রকাশ করে ।
মূলত HTML এ tag এর কার্যক্ষমতাকে বর্ধিত করার জন্য attributes ব্যবহার করা হয়।

যেমন — <font size="5" face="Tahoma" color="white"> Welcome On Lincons IT Blog</font> এখানে size="5" অংশটি হল font tag এর  একটি attribute  যা প্রকাশ করছে ইলিমেন্ট অর্থাৎ Welcome On Lincons IT Blog লেখাটির সাইজ কেমন হবে।
এছাড়া face="Tahoma" প্রকাশ করছে লেখাটির font হবে Tahoma এবং color="white" দ্বারা প্রকাশ করছে লেখাটির রং হবে সাদা ।

কিছু HTML Attributes —

Tag Attributes
      <div>     id="book" class="pen" align="center"
<h1>….<h6> <p>     align="center" align="left" align="right" title="Lincons IT"
    <body>  bgcolor="green" background="../images/ele.png"
     <font> size="5" face="Tahoma" color="red"
  <img> <table> height="100px" width="50px" border="5px"
  <input /> type="text" name="TextField"


উদাহরণ প্রোগ্রাম — 
<html>
<head>
<title> www.lincons-it.com</title>
</head>
<body bgcolor="red">
<font size="5" face="Tahoma" color="white"> 
Welcome On Lincons IT Blog.
</font>
</body>
</html>

এবার আপনার কম্পিউটারে notepad  open  করুন । তারপর   উপরের code  টুকু  সব লিখে  file  মেনু  থেকে  Save as এ ক্লিক করে  File name:  index.html    এবং  Save as type এ  : All files select  দিয়ে save করে  index.html ফাইলটি Mozilla Firefox দিয়ে 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.