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
Website
Web server and web client
abc
Web Server
abc
Web Client Web Client
Web Client Web Client
Web server :
Web server in a computer which is connected to
Internet and stores(hosts) websites.
Web client:
Web client in a computer which is connected to
Internet and used by common user to visit(browse)
website
Upload: transferring any information
from client’s computer to Server
Who is the Owner of website!
What can a website contain:
Website
A place on the WWW (World
Wide Web) that contains
information about an:
individual, organization,
educational institution or
government or any other
purpose .
Website
May contain
text,
image,
audio,
video
graphics,
Database and
hyperlinks to other web pages
and files
A Website is a collection of
Webpages.
Travelling from one web page
to another called navigation
Domain Type
Web address/URL/Domain Name
www.rajukcollege.net
www.facebook.com
www.google.com
www.yahoo.com
www.wikipedia.org
URL/Domain name/Web address
Uniform Resource Locator
www.rajukcollege.info
www.facebook.com
www.google.com
www.yahoo.com
www.wikipedia.org
DNS
www.google.com 173.194.36.51
DNS
Domain Name System
Used to convert web address from text form to
numerical value
Example:
www.google.com to 174.194.36.51
It is very hard to remember numerical value of
web address.
People types web address in text form and DNS
convert it into numerical form
Rules to be obyed
Network
Network Protocol
A set of rules that provide communication in a
network.
Examples:
TCP/IP =
Transmission Control Protocol
/Internet Protocol
FTP= File Transfer Protocol
HTTP= Hyper Text Transfer Protocol
HTTP= Hyper Text Transfer Protocol
Address Bar
Content
web browser
Google chrome
Mozilla Firefox
Opera
Internet explorer/MS Edge
Safari
Mosaic(first Internet Browser)
UC
Opening website by browser(Mozilla firefox )
Title bar
Address bar
For Database:
My SQL, SQL Server
For webbased Database
Web design language
Web based database(for Dynamic website ):
MySQL, SQL Server
Server
Client
Dynamic Website
Server
Client
Database
Types of website
Static websites
Information are fixed. Can’t be changed by common
user. Only administrator is capable of changing.
It has no database
Dynamic website
Information are changeable. Can be changed by
common user and administrator both .
It has database.
Static website Vs Dynamic website
Static Website Dynamic website
1) Can’t be changed by user 1) Both Admin & User can
request. Only Admin can change it
change.
Static website Vs Dynamic website
Static Website Dynamic website
1) Can’t be changed by user 1) Both Admin & User can
request. Only Admin can change it
change.
2) No Database used 2) Database used
Static website Vs Dynamic website
Static Website Dynamic website
1) Can’t be changed by user 1) Both Admin & User can
request. Only Admin can change it
change.
2) No Database used 2) Database used
3) Use HTML, CSS for 3) Use PHP, ASP,XML etc
developing and MySQL & SQL server for
database
Static website Vs Dynamic website
Static Website Dynamic website
1) Can’t be changed by user 1) Both Admin & User can
request. Only Admin can change it
change.
2) No Database used 2) Database used
3) Use HTML, CSS for 3) Use PHP, ASP etc
developing language MySQL & SQL
server for database
4) Simple structure & easy to 4) Complex structure & hard
develop to develop
Static website Vs Dynamic website
Static Website Dynamic website
1) Can’t be changed by user 1) Both Admin & User can
request. Only Admin can change it
change.
2) No Database used 2) Database used
3) Use HTML, CSS for 3) Use PHP, ASP etc
developing language MySQL & SQL
server for database
4) Simple structure & easy to 4) Complex structure & hard
develop to develop
5) Faster load 5) Slower load
Static website Vs Dynamic website
Static Website Dynamic website
1) Can’t be changed by user 1) Both Admin & User can
request. Only Admin can change it
change.
2) No Database used 2) Database used
3) Use HTML, CSS for 3) Use PHP, ASP etc
developing language MySQL & SQL
server for database
4) Simple structure & easy to 4) Complex structure & hard
develop to develop
5) Faster load 5) Slower load
6) Hard to update 6) Easy to update
7) Fixed number of pages 7) New pages can be
generated
Static website Vs Dynamic website
Static Website Dynamic website
8) No change in Runtime 8) Can be changed in runtime
TLD= Top Level Domain
TOP LEVEL DOMAIN
Top Level Domain/Generic Domain/Domain Type
Home
Desktop Laptop
Network/Web link structure of website
Linear structure
Main
Page
P-3
P-1
P-4
Home page
P-5
P-2
P-6
ICT teacher Ms. Asma suggest the students to develop a website by
following the structure given below. One of the students, Ohona
developed an website following the figure-1 and another student Aritro
followed the figure-2 for developing website
1 2 3
C) Identify Ohona’s
website
Figure1 D) Explain why Aritro’s
web site is convinient
Figure-2
Stem: CB 2017
Home page
Page-1 Page-2
Page-5
Page-3 Page-4
Page Page
Page
Page Page
What is structure of the website?
Explain the structure
Page 2 Page 1
Home page
Page 4 Page 3
Chayon developed a website where each
page is connected to other pages by multiple
paths.
2. Analysis
3. Design
4. Develop
5. publishing/Implementation
initialtechnical specification
Project plan/schedule,
Resource/funding plan
demo site flowchart
Infrastructure requirements
Database requirements
E-commerce compatibility
3.Design
Logo design,
Banner design
Site structure
Content (Information and image collection
Site diagram, page description diagram,
Visual Design
Flow chart, Draft, feedback, refine design ,
select design
4. Development
4. Develop
Implement maintenance
plan
Monthly maintenance
Quality assuring testing,
prioritize important issue,
refine site
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:
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.
Meanwhile presently Government also ordered to all
school and college to develop website for representing
updated information.
Easy communication
Keeping It Fresh
SPAM
Bad Publicity
Markup languages
Markup languages are designed for the
processing, definition and presentation
of text.
The language specifies code for formatting,
both the layout and style, within a text file.
The code used to specify the formatting are
called tags.
Example:
HTML,HTML5, XML
Timothy Berners-Lee
CERN
Switzerland
HTML
Hyper Text Markup Language is a Programming language for
creating WebPages. WebPages are usually viewed in a web
browser.
<html>
<head>
…………………………………………….
…………………………………………….
</head>
<body>
…………………………………………….
…………………………………………….
…………………………………………….
…………………………………………….
</body>
</html>
HTML Tags
<html>
<head>
<title> Welcome to College </title>
</head>
<body>
……………….
</body>
</html>
Tips and Notes
Tip:
The <!DOCTYPE html> declaration is NOT
case sensitive.
Syntax of a simple HTML file
<!DOCTYPE html>
<html>
<head>
<title> Welcome to College </title>
</head>
<body>
……………….
</body>
</html>
HTML
FORAMTTING TAGS
<b> tag
Used to make the text bold
Example: Result
<html> Bangladesh
<head>
</head>
<body>
<b> Bangladesh</b>
</body>
</html>
Also used to make text bold
<Strong>
---------------------
</Strong>
<u> tag
Used to make the text underlined
Example:
<html>
<head>
</head>
Result:
<body>
<u> Dhaka </u>
</body>
</html> Dhaka
<ins> tag
Used to make the text underlined
Syntax:
<ins>………text……</ins>
Example:
<html> Result:
<body>
<ins> Dhaka </ins>
</body>
</html> Dhaka
Try <ins>
<ins> is alternate of <u>
<i> tag
Used to make the text italic
Example:
<html>
<head>
</head>
<body> Result:
<i> uttara</i>
</body>
</html> uttara
different tags can be applyed on the same
text
Example:
<b><u><i>Bangladesh</u></b></i>
Result:
Bangladesh
<i>Bangladesh</i>
Example:
<html>
<head>
</head> Result:
<body>
<big> College</big>
</body>
</html> College
<small> tag
Used to make the text smaller
Syntax:
<small>………text……</small>
Example:
<html>
Result:
<body>
< small > School </small >
</body>
</html> School
X Y
3
<sup> tag
Used for superscript
Syntax:
<sup>………text……</sup>
Example:
<html> Result:
<body>
X <sup>3 </sup>Y
</body>
</html>
X3 Y
X<sup> N<sup>2</sup></sup>
H 2O
<sub> tag
Used for subscript any text
Syntax:
<sub>………text……</sub>
Example:
<html> Result:
<body>
H <sub>2 </sub> O
</body>
</html> H2O
<p> tag
Used to make a new paragraph
Syntax:
<p>………text……</p>
Example:
<html>
<body> Result:
<p> Dhaka</p><p> Bangladesh</p>
</body>
</html>
Dhaka
Bangladesh
<DIV> tag
Used to divide in different sections
<div>
</div>
Align an Image/object/text
Attribute
Example:
<b> </b>
<i> </i>
<p> </p>
<h1> </h1>
Also called container tag
Non Pair tag/Empty tag
Example:
<br>
<hr>
<img>
<br> tag
Used to make a new line
Syntax:
……text……<br> …… text….
Example:
<html>
<body>
Result:
My Name is <br> Messi
</body>
</html>
<body>
<hr>
</body>
Result:
<h1> tag
Used to make Headline/Heading
Syntax:
<h1>………text……</h1>
Example:
Result:
<html>
<body>
<h1> Today’s Headline</h1>
</body>
Today’s Headline
</html>
Try your self
<h1> Headline 1</h1>
<h2> Headline 2</h2>
<h3> Headline 3 </h3>
<h4> Headline 4 </h4> Result
<h5> Headline 5 </h5> Headline 1
<h6> Headline 6 </h6> Headline 2
Headline 3
Headline 4
Headline 5
Headline 6
Del tag
Out put:
My Name
<Strike> tag (same as del)
Out put:
My Name
<font size="5" color="red"> Uttara
</font>
<font size=“2" color=“Blue"> Uttara </font>
<font size="10" face="Arial Black"
color="Blue"> Uttara </font>
<font size=“3" face=“Times New
Roman" color=“Green"> Uttara </font>
Color Name Code
BLACK #000000
WHITE #FFFFFF
RED #FF0000
YELLOW #FFFF00
GREEN #008000
Maroon #800000
Gray #808080
Set background color
Example:
<body style="background-color:red;">
Out Put:
Div tag
defines a division or a section in an HTML
document.
used to group block-elements to format them
with styles.
Example:
Out PUT:
<div style="color:RED">
This is a colorful line This is a colorful line
</div>
Marquee tag
<marquee> please drive slow </marquee>
Direction:up,down,left,right
Comilla-19
<b>Quick </b><i>Brown</i> <u>fox</u>
<br><del>jump over</del>the lazy
<sup>dog</sup><br> and <sub>then
</sub><b>it fall </b><br><u>prey to a
<i>lion</i><u>
<html>
<head> </head>
<body>
<i>Uttara</i> <br>
<b>Dhaka </b><br>
<u>Bangladesh </u><br>
H<sub>2 </sub>O<br>
</body>
</html>
Stem: write HTML code the show
the following ouput
Head line
Dhaka
Bangladesh
AABBBCCCC
A4 B2
<h1> Head Line</h1>
<Hr>
<i><b> Dhaka</i></b> <br>
<u> Bangladesh</u> <br>
<del>AABBBCCCC</del> <br>
A <sup>4 </sup>B <sub>2</sub>
What is the output?
We all <u>should </u>love<br> our
<b>country</b>
<body>
</body>
</html>
LIST TAG
UL=UNORDERED LIST
OL=ORDERED LIST
UL tag
used to create Unordered List
Example:
<ul>
<li> Messi</li>
<li> Ronaldo</li> Out PUT:
</ul> * Messi
* Ronaldo
UL tag
used to create Unordered List
Example:
<ul Type=“Circle”>
<li> Messi</li>
<li> Ronaldo</li> Out PUT:
</ul> Messi
Ronaldo
UL tag
used to create Unordered List
Example:
<ul Type=“Square”>
<li> Messi</li>
<li> Ronaldo</li> Out PUT:
</ul> Messi
Ronaldo
UL tag
used to create Unordered List
Example:
<ul Tpye=“Disc”>
<li> Messi</li>
<li> Ronaldo</li> Out PUT:
</ul> * Messi
* Ronaldo
OL tag
used to create Ordered List
Example:
<ol>
<li> Messi</li>
Out PUT:
<li> Ronaldo</li> 1. Messi
2. Ronaldo
</ol>
OL tag
used to create Ordered List
Example:
<ol Type=“a”>
<li> Messi</li>
Out PUT:
<li> Ronaldo</li> a. Messi
b. Ronaldo
</ol>
OL tag
used to create Ordered List
Example:
<ol Type=“A”>
<li> Messi</li>
Out PUT:
<li> Ronaldo</li> A. Messi
B. Ronaldo
</ol>
OL tag
used to create Ordered List
Example:
<ol Type=“i”>
<li> Messi</li>
Out PUT:
<li> Ronaldo</li> i. Messi
ii. Ronaldo
</ol>
<ol type=”1” start =”5”>
<OL Type=“A”>
<li>Mizan </li>
<li>Rahman </li>
<li>Anika </li>
<ol>
Syntax:
<img src=“ImageName.extension”>
Example: Result:
<html>
<body>
<img src=“Car.jpg”>
</body>
</html>
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 = “ ImageName ” >
<img src=“Car.jpg”>
Tag
<img src=“D:\Picture\XYZ.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
Syntax:
<a href= “ FileName or Source or URL”>…link text……</a>
Opening Tag URL as Value
Closing Tag
………………….
…………………
visit company profile
<a href=“http://www.facebook.com”>
click to open facebook
</a>
<a href=“details.html”> click to details</a>
Website of A company has 2 links:
Click ‘Social Network’ to open twitter.com
Another link goes to product details of a
company
<a href=“http://www.twitter.com”>
Social Network
</a>
<a href=“details.html”> click to details</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.
<a href="http://www.wikipedia.org">
<img src=“Banner.jpg" >
</a>
3 Types of Hyper link
External Hyperlink : go to another
website
<table border=“2”>
……………..
……………..
……………..
</table>
Ctreate the table given below
<table border=“2”>
<Tr> </Tr>
<Tr> </Tr>
<Tr> </Tr>
<Tr> </Tr>
</table>
Create the table given below
<table border="2">
<Tr> <th> Roll </th> <th> Name </th> </Tr> Roll Name
</table>
<table border="5">
</table>
You need to click on “Board” for visiting
www.board.edu.bd to see ICT marks
<table boarder=“1”>
<Caption> HSC-2019
</Caption>
<tr>
<td align=“Center” colspan=“2”> ICT</td>
</tr>
<tr> <td> Subjet</td> <td> <a
href=“http://www.board.edu.bd”>Board</a></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>
<Table border="3">
<caption>Students </caption>
<TR>
<TH colspan="2"> Dhaka</TH>
<TH colspan="2"> Gazipur</TH>
</TR>
<TR>
<td> Uttara</td><td> Khelkhet</td>
<td> Tongi</td><td> Shib bari</td>
</TR>
</Table>
<Table border="2">
</Table>
Dhaka
Uttara Tongi Gazipur
<Table border="3">
<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”>
<caption><u>Data Communication Medium</u><caption>
<tr> <th> Name of Medum</th> <td>Type of Medum </td>
</tr>
<tr><td>Twisted Pair </td><td rowspan=“2”>Wire</td>
</tr>
<tr><td>Fiber optic Cable</td>
</tr>
<tr> <td>Infrared</td><td>wireless</td></tr>
</Table>
<table border="1" cellpadding="10">
</table>
<table border="1" cellspacing="10">
</table>
<table border="1">
<tr>
<td bgcolor="RED">January</td>
<td bgcolor="Yellow">$100</td>
</tr>
</table>
Stem: 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>
Stem: DB 2017 : explain basic syntax of the stem,
describe necessary steps to SHOW the stem in
Internet
<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>
Hyper link
<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.
<table border=“1”>
<TR> <TH> SL NO</TH> <TH>Website</TH>
</TR>
Bio-data
Name: ABC
Roll: 120
(A+B)2= A2 + 2AB + B2
A BC
X T
P Q
Y R S
<body>
<a href=“admission.html”> click here to admission</a>
</body>
</html>
Output?
<HTML><title>XI-Final Exam</title>
<body>
<h2>Rajuk Uttara Model College</h2>
<table border="2” >
<tr><td> Name </td><td>Image</td></tr>
<tr><td> RUMC </td><td>
<img src=”college.jpg”></td></tr>
</table>
</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”>
<ol>
<li>Bangla</li>
<li>English</li>
<li>Mathematics</li>
<li>Accounting</li>
</ol>
</body>
</html>
s19
The website of Shila’s college distributes data
bidirectional between the server and browsers.
Shila has made a webpage where
www.e-board.edu.bd website is shown when
the word “our-board” is clicked
(c) Explain the type of the website of Shila’s
college.
(d) The webpage, which is. made by Shila is a
webportal”-Analyze with HTML codes.
d) Write HTML code for taking the list of Honor’s subject
and make a table. There will be a table with headline serial
No and subject name.
Rajuk Uttara Model College
4 wings are:
i.EM-MS
ii. EM-DS
iii. BM-MS
Iv. BM-DS
Write down HTML code to display the stem into the home page of
your college.
How will you represent 4 wings of the college in tabular form
considering Sl.No and Wings are table head and List of wings as
title of the table.
C) Draw home page for the code given below:
<!DOCTYPE html
<head>
<title>home page</title><head>
<body>
<h1><center>Welcome to my world</center></h1><br><br<br>
<div align=center>
<img src="d:\myfolder\myphoto.jpeg" width=100 height=100 alt="My
Picture">
<br><h2>Personal info..</h2>
Name: Samin Zaman<br>Roll:1025<br> Class:XII-SC-
C<br>Position:1<sup>st</sup>
<br>Address: Sector:6,Road:10,<u>house no:14</div>
<a href="biodata.docx">click to see my detailed
information</a></body></html>
<!DOCTYPE html
<head>
<title>home page</title><head>
<body>
<h1><center>Welcome to my world</center></h1><br><br<br>
<div align=center>
<img src="d:\myfolder\myphoto.jpeg" width=100 height=100 alt="My Picture">
<br><h2>Personal info..</h2>
Name: Samin Zaman<br>Roll:1025<br> Class:XII-SC-
C<br>Position:1<sup>st</sup>
<br>Address: Sector:6,Road:10,<u>house no:14</div>
<a href="biodata.docx">click to see my detailed
information</a></body></html>
In order to make his website visible in the internet, Samin discussed the
matter with his friend Asif. In reply, Asif suggested Samin to perform some
publishing work.
Discuss about necessities of Asif’s suggestion
Stem: write HTML code
Picture
Students Info:
Notice Board:
Result:
<html>
<Table border=“2”>
<tr>
<p align=“Center”>
<img src=“picture.jpg”>
<ul type=“square”>
<li> Student info</li>
<li> Notic board</li>
<li> Result:</li>
</ul>
</p>
</tr>
</table>
</html>
<table border="1">
<tr> <th> Title </th> </tr>
<tr> <td> Natore <br>
<img src="xyz.jgp">
</td> </tr>
<tr>
<td><OL Type="A" start="4">
<li> Pencil </li>
<li> Pen </li>
<li> Book </li>
</OL>
</td>
</tr>
</table>
<video src="a.mp4" controls></video>