Using styles
Style is a new etribiutasa HTML, CSS within the HTML of the use of the opportunity. Style as well as web pages using CSS to create the various elements of design. Other etribiutasa such as align = \"center\", align = \"left\", bgcolor = \"green\", height = \"100px\", width = \"50px, bgcolor =\" green \", etc. However, the design can be created, but the use of Style facilities are available.
For example, the style used
<html>
<head>
<title> www.hedaet.com </ title>
</ Head>
<body bgcolor=\" green\">
<font style=\"font-family:Verdana; font-size:15px\">
This is a paragraph.
</ Font>
<br />
<font style=\" font-size:25px; font-family:Tahoma; color:red;\">
Bangladesh is a beautiful country.
</ Font>
</ Body>
</ Html>
For example, using other etribiutas
<html>
<head>
<title> www.hedaet.com </ title>
</ Head>
<body bgcolor=\" green\">
<font size=\"2\" face=\"Verdana\">
This is a paragraph.
</ Font>
<br />
<font size=\"5\" face=\"Tahoma\" color=\"red\">
Bangladesh is a beautiful country.
</ Font>
</ Body>
</ Html>
Open Notepad and copy the above code / paste them, file menu, click Save as File name: index.html, Save as type: All files, and save the index.html file to open it with Mozilla Firefox, as shown in the image will appear next to .
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
স্টাইলের ব্যবহার
Style হলো HTML এর একটি নতুন এট্রিবিউটস, এর মাধ্যমে HTML এর মধ্যেই CSS ব্যবহারের সুযোগ সৃষ্টি হয়। Style তথা CSS ব্যবহারের মাধ্যমে ওয়েব পেজের বিভিন্ন উপাদানের ডিজাইন তৈরি করা হয়। অন্যান্য এট্রিবিউটস যেমন align=\"center\", align=\"left\", bgcolor=\"green\", height=\"100px\", width=\"50px, bgcolor=\"green\" ইত্যাদির মাধ্যমে যদিও ডিজাইন তৈরি করা যায়, তবে এক্ষেত্রে Style ব্যবহারে বিশেষ সুবিধা পাওয়া যায়।
যেমন: স্টাইল ব্যবহার করে
<html>
<head>
<title> www.hedaet.com</title>
</head>
<body bgcolor=\" green\">
<font style=\"font-family:Verdana; font-size:15px\" >
This is a paragraph.
</font>
<br />
<font style=\" font-size:25px; font-family:Tahoma; color:red;\" >
Bangladesh is a beautiful country.
</font>
</body>
</html>
যেমন: অন্যান্য এট্রিবিউটস্ ব্যবহার করে
<html>
<head>
<title> www.hedaet.com</title>
</head>
<body bgcolor=\" green\">
<font size=\"2\" face=\"Verdana\">
This is a paragraph.
</font>
<br />
<font size=\"5\" face=\"Tahoma\" color=\"red\" >
Bangladesh is a beautiful country.
</font>
</body>
</html>
নোটপ্যাড open করে উপরের যেকোন code কপি/পেষ্ট করে, file মেনু থেকে Save as এ ক্লিক করে File name: index.html , Save as type : All files, দিয়ে save করে index.html ফাইলটি Mozilla Firefox দিয়ে open করলে পাশে প্রদর্শিত ছবির মত দেখাবে।
|