Information and Communication Technology: Class XI-XII
Information and Communication Technology: Class XI-XII
Information and Communication Technology: Class XI-XII
Communication Technology
Class XI-XII
Chapter-4
Website design and HTML
Web client:
Web client in a computer which is
connected to Internet and used by
common user to visit(browse) website
from server.
Web server :
Web server in a computer which is
connected to Internet and stores(hosts)
websites.
Upload:
transferring any information from
client’s computer to Server .
Download
transferring any information from
Server computer to client’s
computer
Website
A set of related web pages located
under a single domain name, typically
produced by a single person or
organization.
Website may contain
text
image
audio
video
graphics
Database and
hyperlinks to other web pages
and files
Tim Berners-Lee
Welcome
www.Facebook.com
Address bar
Content/Element
Example of some popular web browsers:
Google chrome
Mozilla Firefox
Opera
Internet explorer
MS Edge
Safari
Network Protocol
A set of rules that provide communication in a
network.
Examples:
Directory Page/file
http://www.rumc.edu/admission.php
Domain name
Protocol Page/file
Server-Client Relationship
Website has 2 parts
Client
Server
Request
Client Server
Example: how server response to
client
Response
Client Server
Example: how server response to
client
Php=Hypertext Pre-Processor
Python
Java
Rubi
HTML and CSS
Websites or web applications running in the
browser are made with HTML or CSS
Static websites
Information are fixed. Can’t take input by user
Dynamic website
Information are changeable. Can take input by
users.
Web application
Websites is also called web application.
Examples:
google.com
services.nidw.gov.bd
Passport.gov.bd
Static Website Dynamic website
1) Cant take input from user 1) Can take input from user
2) No Database used 2) Database used
3) Use HTML, CSS for 3) Use PHP, python, etc. for
developing developing and MySQL &
SQL server for database
4) Faster load 4) Slower load
5) Hard to update 5) Easy to update
6) One way Communication 6) Two way Communication
7) Simple structure & easy to 7) Complex structure & hard
develop to develop
8) Fixed number of pages 8) New pages can be
generated
9) Less expensive to build 9) Expensive
Stem:
Students of higher secondary level of a
college divided into two groups and told to
develop website. The 1st group developed
the website by using HTML and CSS. The
2nd group used CSS, MySQL, php etc. for
developing their website. the Judges choose
the 2nd one.
Structure a website
Traditional website
Home page
Home page
Home page
Home page
Easy communication
Note pad
Note pad++
Sublime text
Dream waver
MS front page
Structure of A simple HTML program
(একটি সাধারণ HTML প্রাগ্রামের কাঠামো)
<!DOCTYPE html>
<html>
<head>
…………………………………………….
</head>
<body>
…………………………………………….
…………………………………………….
</body>
</html>
Formatting Tags
<b>, <i>, <u>
<b> tag
<b> Bangladesh</b>
</body>
</html>
<i> tag
Used to make the text italic
Example:
<html>
<head>
</head>
<body> Result:
<i> Uttara</i>
</body>
</html>
<u> tag
Used to make the text underlined
Example:
<html>
<head> </head>
<body>
Result:
<u> Dhaka </u>
</body>
</html>
different tags can be applyed on the same
text
<b><u><i>Bangladesh</i></u></b>
Result:
<i>Bangladesh </i>
</body>
</html>
<strong>
<body> Result:
< strong > How are you</ strong>
</body>
</html> How are you
<em> tag
Used to make text emphasize
<html>
<head>
<title> </title>
</head>
<body> Result:
<em> How are you</em>
</body>
How are you
</html>
<small> and <big> tag
<small> tag
Used to make the text smaller
Example:
<html>
<head>
</head>
Result:
<body>
< small > School </small >
</body>
School
</html>
<big> tag
Used to make the text bigger
Example:
<html>
<head>
Result:
</head>
<body>
<big> College</big>
</body>
</html>
College
Title tag
Title bar
Welcome
www.Facebook.com
<title> tag:
We change text in title bar of browser
<html>
<head>
<title> Welcome </title>
</head> Title bar
Welcome
<body>
</body>
</html>
Remarks/comment in HTML
Remarks or comments in HTML
<! DOCTYPE html>
<html>
<head>
</head>
<body>
This my websites
</body> This my websites
</html>
<sup> tag
Used for superscript
Example:
<html>
<head></head>
<body>
Result:
X <sup>3 </sup>Y
</body>
</html>
<sub> tag
Used for subscript any text
Example:
<html>
<head></head>
Result:
<body>
H <sub>2 </sub> O
</body>
</html>
Heading tag
<h1> tag
Used to make Headline/Heading
Example:
<html>
<head>
</head>
<body>
</html>
Try your self
<h1> Headline 1</h1>
<h2> Headline 2</h2>
<h3> Headline 3 </h3>
<h4> Headline 4 </h4>
<h5> Headline 5 </h5>
<h6> Headline 6 </h6>
<Del> and <strike> tag
Del tag
Cut the text along the middle
<Html>
<head> </head>
<Body>
<del> My old phone number </del>
</Body>
</Html>
<Strike> tag
Cut the text along the middle
<Html>
<head> </head>
<Body>
<Strike> My old phone number </Strike>
</Body>
</Html>
<br> tag
Used to make a new line
Example:
<html>
<body>
Result:
My Name is <br> Messi
</body>
My Name is
</html> Messi
Comilla-19
Example:
<html>
<head></head>
<body>
<p>DHAKA</p><p> BANGLADESH</p>
</body> Result
</html>
Align an Image/object/text
Attribute
Closing tag
Opeing tag
Dhaka
Align an Image/object/text
Dhaka
Align an Image/object/text
Dhaka
<DIV> tag
Used to divide a document in different sections
<div>DHAKA</div><div> BANGLADESH</div>
Pair tag and empty tag
Pair tag(container tag)
Example:
<b> </b>
<i> </i>
<p> </p>
<u> </u>
Non Pair tag/Empty tag
Example:
<br>
<hr>
<img>
<br> tag
Used to make a new line
Example:
<html>
<body>
Result:
My Name is <br> Messi
</body>
My Name is
</html> Messi
<hr> Tag
<hr>
</body>
FONT tag
<font size="7" color="Blue"> Uttara </font>
<font face="Times New Roman"> Rajuk College </font>
</body>
</html>
Region code for Bangla(Bangladesh)
<html lang="bn-BD">
<head>
<meta charset="utf-8">
</head>
<body>
</body>
</html>
Region code of English(USA)
<html lang=“en-US">
<head>
</head>
<body>
</body>
</html>
Div and span tag
Div tag
defines a division or a section in an HTML
document.
used to group block-elements to format them
with styles.
Example:
I am fine. <div style="color:RED">This is a
colorful line </div>
<span>
</body>
</html> Out Put:
Easy way!
<body bgcolor="Yellow">
<body>
Benefit of HTML for creating website
Example:
<ol>
<li> Messi</li>
<li> Ronaldo</li>
<li> Neymar</li>
</ol>
OL tag
used to create Ordered List
Example:
<ol type ="1">
<li> Messi</li>
<li> Ronaldo</li>
<li> Neymar</li>
</ol>
OL tag
Example:
<ol type="a">
<li> Messi</li>
<li> Ronaldo</li>
<li> Neymar</li>
</ol>
OL tag
used to create Ordered List
Example:
<ol type="A">
<li> Messi</li>
<li> Ronaldo</li>
<li> Neymar</li>
</ol>
OL tag
used to create Ordered List
Example:
<ol type="i">
<li> Messi</li>
<li> Ronaldo</li>
<li> Neymar</li>
</ol>
OL tag
used to create Ordered List
Example:
<ol type="I">
<li> Messi</li>
<li> Ronaldo</li>
<li> Neymar</li>
</ol>
Start attribute with list
<ol type=”A” start =”4”>
<li>
D.
E.
F.
M-19
<ol Type=“a”>
<li>Mizan </li>
<li>Rahman </li>
<li>Anika </li>
</ol>
M-19
<html>
<head>
</head>
<body>
<ul type ="Circle">
<li> Mahin</li>
<li> Nihan</li>
<li> Zarif</li>
<li> Rafin</li>
</ul>
</body>
</html>
Home page of ABC college has a list of different faculties in
sequential form: Sc, B.St and humanities .
Write down the html tag for home page of ABC college.
<html>
<head></head>
<body>
<OL>
<li> Sc </li>
<li> B.St</li>
<li> Humanities </li>
</OL>
</body>
</html>
Write html code for the output
<ol type="A">
<li> Dhaka </li>
<ul type="circle">
<li> Gazipur </li>
<li> Manikgonj</li>
</ul>
<li> Khulna</li>
<li> Rajshahi </li>
</ol>
Write html code for the output
<ul type="square">
<li> Apple of </li>
<ol type="a">
<li> Austalia </li>
<li> Africa</li>
</ol>
<li> Orange</li>
<li> Banana </li>
</ul>
<img> tag
Extension/format file of image file
Example:
Result:
<img src=“Car.jpg”>
Car.jpg
CQ
Joly developed an website . In her home
page there is picture of a tree.
<img src=“Tree.jpg”>
Ch-19:Draw html code to show the pic given below
water Lily.jpeg
<img src=“D:\picture\rail.jpg”>
Mr. Arif developed a website. In his home page he
showed a picture of his company. The image of his
company is 300 × 200 and kept in a folder name
MY Photograph in E drive of his hard disc.
Write HTML code for Mr. Arif’s website
Result:
Click here
Opening Tag URL as Value
Closing Tag
………………….
login …………………
<a href=“http://www.facebook.com”>
click to open facebook</a>
<a href="http://www.wikipedia.org">
Click here </a>
Mr. Azim developed a website. In homepage
there is a picture name Bannar.jpg. By
Clicking there a visitor can go to visit
Wikipedia.org.
</table>
<table border="5">
<Tr> <th> Roll </th> <th> Name </th> </Tr>
<Tr> <td> 1 </td> <td> Dipu </td> </Tr>
<Tr> <td> 2 </td> <td> Jashim </td> </Tr>
</table>
<table border=“0">
</table>
<table>
</table>
<table border=“1”>
<Tr> <th> Roll </th> <th> Subject </th>
</Tr>
</table>
cellpadding
<tr> <td>Hum</td></tr>
</Table>
<Table border="3">
<tr> <td>A</td> <th rowspan="2">BF</th>
<td>C</td> <td>D</td>
</tr>
<tr> <td>E </td> <td>G</td> <td> H</td>
</tr>
<tr> <td>I</td> <td>J</td>
<th colspan="2">KL</th>
</tr>
</Table>
How to change cell color of table
<Table border="1" >
<tr>
<th> FName</th>
<th> Name </th>
</tr>
<tr>
<td bgcolor="Yellow"> A</td>
<td bgcolor="Red"> B </td>
</tr>
</Table>
CQ: What is Output of the HTML code
<body>
<Table border=“3” >
<tr>
<th> FName</th>
<th> Name </th>
</tr>
<tr>
<td> A</td>
<td> B </td>
</tr>
</Table>
</body>
<html>
<head> <title> ICT</title> </head>
<body>
<h3> COLLEGE RESULT</h3>
<table border="1">
<tr>
<th>Roll</th> <th>Name</th> <th>Result</th>
</tr>
<tr>
<td>501</td><td>Sumaiya</td>
<td> <a href="Exam Result.html"> MY test
Result</a></td>
</tr>
</table>
</body>
</html>
ICT
Cumilla-19
</body>
Practicing CQ
RB 16 Stem:
A school named “Alor Shopan” was thinking to
develop a website. In it’s home page a picture named
“Campus.jpg” will appear and there will be arranged
in a list of sections named: IT , Physical Sc and
Biological Science etc. and there will be also a
‘Notice Board’ linked in the home page. The school
authority called three IT specialists. The IT specialist
suggested 2 solution. 1st one was cheaper but some
difficulties for updating regularly. The 2nd solution
was costly but easy to update regular basis.
C) write HTML code to create the home page.
D) which soloution is better for Alor Shopan ? (Next
page for Solution)
<HTML>
<head> </head>
<body>
<img src=“Campus.jpg”>
<OL>
<li>IT </li>
<li> Physical Sc</li>
<li> Biology</li>
</OL>
<a href=“Notice.html”> click to visit notice board</a>
</body>
</HTML>
Cb 16 Stem
The picture of the administrative building of the ‘X’
institute shown in the home page of it’s website.
Two webpages named “Employee.html” and
“Product.html” are linked with the home page. If
the website published in Internet , awarded people
of the world will be informed about the institute.
C) write down the HTML code for design the home
page.
D) according to stem what steps should be taken to
make people interested about the institute
<HTML>
<HEAD> </HEAD>
<BODY>
<img src=“x.jpg”>
Opening Tag URL as Value
Closing Tag
<ol>
<li>Bangla</li>
<li>English</li>
<li>Mathematics</li>
<li>Accounting</li>
</ol>
</body>
XYZ College, Dhaka.
Available Honor’s subject:
1.Bangla
2. English
3. Mathematics
4.Accounting
<tr><td>Subjective</td><td>Objective</td><td>Total
</td></tr>
<tr><td>37</td><td>21</td><td>58</td></tr>
</table>
<table border="1">
<tr> <td rowspan="3>ICT</td>
<td>Subjective</td><td>37</td></tr>
<tr> <td>Objective </td><td>21</td></tr>
<tr> <td>Total</td><td>58</td></tr>
</table>
<table border="1">
<tr> <td> Student Name</td> <td colspan="3"
align="Center"> Compulsory</td> <td>
Optional</td> </tr>
<tr> <td rowspan=3>Harry Potter</td>
<td rowspan=3>Bangla</td>
<td rowspan=3>English</td>
<td rowspan=3>ICT</td>
<td >Physics</td> </tr>
<tr> <td> Math </td></tr>
<tr> <td> Biology </td></tr> </table>
CONVERT ALL ROW IN COLUM
<table border="2">
<tr> <td>Student </td><td colspan="3">Harry
Porter</td></tr>
<tr> <td rowspan="3">Compoulsary </td>
<td colspan="3">Bangla</td></tr>
<tr><td colspan="3">English</td></tr>
<tr><td colspan="3">ICT</td></tr>
<tr><td>Optioanl</td><td>Physics</td>
<td>Math</td>
<td>Biology</td></tr></table>
Website design and development
Some key points keep in mind
while designing an website
Looks like attractive to the user
www.abc.com 152.123.12.06
Stem:
Shuvo got some training on web page
development. He created a webpage with his
picture and information and can run it from
his own computer. He wanted to improve his
site and start it by giving name ”shuvo.net”.
Knowing this his friend Rahul says-”I want to
visit your web page tonignt”. In replay Shuvo
says-”Not now. Yet, I need to do some
publishing work”
D) Explain Shuvo’s comment
Describe the steps to publish the
following table
The picture of the administrative building of the ‘X’
institute shown in the home page of it’s website.
Two webpages named “Employee.html” and
“Product.html” are linked with the home page. If
the website published in Internet , awarded people
of the world will be informed about the institute.