ICT Chapter 4
ICT Chapter 4
Communication Technology
Class XI-XII
Chapter-4
Website design and HTML
Concept of web design
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
CERN
Switzerland
Tim Berners-Lee
Welcome
www.Facebook.com
Address bar
Content
Web browser
Google chrome
Mozilla Firefox
Opera
Internet explorer
MS Edge
Safari
Network Protocol
A set of rules that provide communication in a
network.
Examples:
Request
Server
Response (host website)
Client
(user
device)
Request
Server
Client
Response
Database
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
Server
Client
Response
Database
Types of website
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 form user 1) Can take input form 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
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
Easy communication
Note pad
Note pad++
Sublime text
Smart phone app is also possible to test
HTML tags
(Structure of A simple HTML program)
একটি সাধারণ 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>
</body>
</html>
Remarks/comment in HTML
Remarks or comments in HTML
<! This a HTML document >
<html>
<head>
</head>
<body>
This my websites
</body> This my websites
</html>
Remarks or comments in HTML
<html>
<head>
</head>
<body>
This my websites
<! This a HTML document >
</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>
CQ
Syntax:
<h1>………text……</h1>
Example:
<html>
<body>
<h1> Today’s Headline</h1>
</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>
Comilla-19
Syntax:
<p>………text……</p>
Example:
<html>
<head></head>
<body>
<p>DHAKA</p><p> BANGLADESH</p>
</body>
</html>
<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 color="red"> Uttara </font>
<font size="7" color="Blue"> Uttara </font>
With alignment
<p align=“center”><font size=“2"
color=“Blue"> Uttara </font></p>
<font face="Times New Roman"> Rajuk College </font>
</body>
সবাই কেমন আছ া?
</html>
How write Bangla in HTML
<html lang="bn">
<head>
<meta charset="utf-8">
</head>
<body>
</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:
CQ
<html>
<head><title> my web</title></head>
<body>
<i>Uttara</i> <br> <b>Dhaka </b>
<br><u>Bangladesh </u><br>
H<sub>2 </sub>O
</body>
</html>
Stem: write HTML code the show
the following ouput
Benefit of HTML for creating website
Example:
<ol>
<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=”i” start =”3”>
iii.
iv.
v.
List in reverse order
<ol reversed>
<li>Kapil</li>
<li>sachin</li>
<li>Will</li>
<li>nikhil</li>
</ol>
M-19
<OL Type=“a”>
<li>Mizan </li>
<li>Rahman </li>
<li>Anika </li>
</ol>
M-19
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.
<OL>
<li> Sc </li>
<li> B.St</li>
<li> Humanities </li>
</OL>
Write HTML code
Subject list :
d. Bangla
e. English
f. ICT
<img> tag
<img> tag
Used to insert an image in website
Example:
Result:
<img src=“Car.jpg”>
CQ
Joly developed an website . In her home
page there is picture of a tree.
water Lily.jpeg
Extension/format file of image file
.jpg
.jpeg
.bmp
.tif
.gif
.png
Define size of picture
<img src=“D:\Picture\mrc.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
Keep your mouse on the picture and see!
<body>
</body>
<A> tag
Hyper link
Used to make hyperlink
Example:
Result:
Click here
Opening Tag URL as Value
Closing Tag
………………….
…………………
visit company profile
</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>
CB: 2017
<table>
</table>
<table border="1">
<caption> My table</caption>
<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=“1”>
<tr> <th colspan=“2”>ICT </th></tr>
</table>
<table border="1">
<tr> <td colspan="2">ICT </td></tr>
<tr><td> Sub</td> <td>Obj</td> </tr>
</table>
<table border="1">
<tr> <td align="Center" colspan="2">ICT
</td></tr>
<tr><td> Sub</td> <td>Obj</td> </tr>
</table>
<table border="1">
<tr><td align="Center" colspan="2"><b>ICT</b>
</td></tr>
<tr><td> Sub</td> <td>Obj</td> </tr>
</table>
<table border="2">
<tr>
<th colspan="3">Dhaka</th>
</tr>
<tr>
<td> Uttara </td><td> Farmgate</td> <td>
Badda</td>
</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>
<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>
Stem:
Rajuk college decided to develop a website in order
to proper management of the institute. For this
purpose they used only HTML and created a
Student’s Information table with fields: Students
Name, Father’s Name, Date of Birth, Roll Number &
Section.
Hyper link
<
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)
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
Mr. Z was showing HTML coding in programming
class. He added a picture from c drive under a
folder name picture. The name of the image was
Logo.Jpg and size of the image was 300 x 300
pixel. Then he said his student to write an HTML
code that will allow the image to click and it will take
a visit xiadmissionboard.edu.bd. then he write
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
Stem:
A Company named Delta wants to develop a website
for them where they express only introduce them self.
They appointed a web developer for that work. Web
developer told the authority to express in the website
they need domain name & hosting.