News:

Dolphin Computers Ltd., is a leading IT product and service provider company in Bangladesh.

Main Menu

Do not shortcut the rules, I do web design and web programming tutoriai Pragraph

Started by bbasujon, January 11, 2012, 07:40:54 AM

Previous topic - Next topic

bbasujon

Code:

<html>

<head>

<title> This is title of your web site.</title> 

</head>

<body bgcolor="green"> 
This is the body of your web site.

<p>This is a paragraph.</p>
<p>
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
</p>

<p>
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
</p>


</body>

</html>



এখন file মেনু থেকে Save as এ ক্লিক করে File name: index.html  ,   Save as type : All files,  দিয়ে save করি । save করা index.html ফাইলটি Internet explorer দিয়ে open করলে নিচের মত দেখাবে।


Code বিশ্লেষণ:

HTML ব্যবহার করে প্যরাগ্রাফ তৈরি করার জন্য <p> ট্যাগ ব্যবহার করা হয়। <p> ট্যাগের ক্ষেত্রেও অন্যান্য ট্যাগের মত শেষ ট্যাগ দিতে হয়, আর তা হল </p> অর্থাৎ আমরা যদি একটা প্যরাগ্রাফ লেখতে চাই তবে তা <p>——–</p> এর মাঝে লেখতে হবে। যেমন আমি লিখেছি,

<p>
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
</p>
Acquire the knowledge and share the knowledge so that knowing,learning then sharing - all are the collection