Вы находитесь на странице: 1из 19

WEB SYSTEMS AND TECHNOLOGY

WEEK # 1

UNIVERSITY OF GUJRAT SIALKOT CAMPUS PPP


FAIZAN UL MUSTAFA

faizan.mustafa@uogsialkot.edu.pk
WEB-Page

 Hypertext document connected to the World


Wide Web. *Hypertext is the text which which contains links to other
texts.

faizan.mustafa@uogsialkot.edu.pk
WEB-Site

 Combination of two or more web pages


connected to Internet is called a WEBSITE.
STATICS WEBSITES
DYNAMICS WEBSITES

faizan.mustafa@uogsialkot.edu.pk
Then What is WWW?

faizan.mustafa@uogsialkot.edu.pk
World Wide Web (Definition)

 An information system on the Internet which allows


documents to be connected to other documents by
hypertext links, enabling the user to search for
information by moving from one document to
another.

faizan.mustafa@uogsialkot.edu.pk
More on WWW….!

 Sir Tim Berners-Lee invented the World Wide


Web in 1989.

faizan.mustafa@uogsialkot.edu.pk
Conti……!!!
 The first web browser was invented in
1990 by Tim Berners-Lee. It was called
Worldwide Web (no spaces) and was
later renamed Nexus. In 1993, Marc
Andreessen created a browser that was
easy to use and install with the release
of Mosaic (later Netscape).

faizan.mustafa@uogsialkot.edu.pk
Why to learn WEB?

 Advantages
 Time
 Localization (Local Info to community level)
 Universality
 Search
 Cheap

faizan.mustafa@uogsialkot.edu.pk
Some Basic Terminologies (Revised)
 Web server: a system on the internet containg one or
more web site
 Web site: a collection of one or more web pages
 Web pages: single disk file with a single file name
 Home pages: first page in website
Think about the followings before working your
Web pages.
 Think about the sort of information(content) you want to put
on the Web.
 Set the goals for the Web site.
 Organize your content into main topics.
 Come up with a general structure for pages and topics.

faizan.mustafa@uogsialkot.edu.pk
What is HTML?

 Telling the browser what to do, and what props to use.


 A serises of tags that are integrated into a text document.

Tags are ;
 surrounded with angle brackets like this
 <B> or <I>.
 Most tags come in pairs
 exceptions: <P>, <br>, <li> tags …
 The first tag turns the action on, and the second turns it
off.

faizan.mustafa@uogsialkot.edu.pk
 The second tag(off switch) starts with a forward slash.
 For example ,<B> text </B>

 can embedded, for instance, to do this:


 <HEAD><TITLE> Your text </HEAD></TITLE> it won't work.
 The correct order is <HEAD><TITLE> Your text </TITLE></HEAD>
 not case sensitivity.
 Many tags have attributes.
 For example, <P ALIGN=CENTER> centers the paragraph following it.

 Some browsers don't support the some tags and some


attributes.

faizan.mustafa@uogsialkot.edu.pk
Basic HTML Document Format

<HTML> See what it


<HEAD> looks like:
<TITLE>WENT'99</TITLE>
</HEAD>
<BODY>
Went'99
</BODY>
</HTML>

faizan.mustafa@uogsialkot.edu.pk
How to Create and View an HTML document?

1.Use an text editor such as Editpad to write the


document.
2.Save the file as filename.html on a PC. This is called
the Document Source.
3.Open Netscape (or any browser) Off-Line
4.Switch to Netscape
5.Click on File, Open File and select the filename.html
document that you just created.
6.Your HTML page should now appear just like any other
Web page in Netscape.
faizan.mustafa@uogsialkot.edu.pk
7.You may now switch back and forth between the
Source and the HTML Document
 switch to Notepad with the Document Source
 make changes
 save the document again
 switch back to Netscape
 click on RELOAD and view the new HTML
Document
 switch to Notepad with the Document Source......

faizan.mustafa@uogsialkot.edu.pk
Tags in head
 <HEAD>...</HEAD>-- contains information about the
document
 <TITLE>...</TITLE>-- puts text on the browser's title
bar.

faizan.mustafa@uogsialkot.edu.pk
Tags in Body

 Let's talk Text


 Heading: <H1> </H1>
 Center:<Center> </Center>
 Line Break <P> ,<Br>
 Phrase Markups: <I></I> ,<B></B>

 Create a List
 Unordered list : <UL><li>
 Ordered list: <OL><li>
 Nested
faizan.mustafa@uogsialkot.edu.pk
 Add Images

 Use <IMG SRC=imagefilename> tags


 How to specify Relative pathnames

 Attributes of IMG tag


-width,height
-Alt
-Align
-<Img src=my.gif width=50 height=50 align=right
alt=“My image”>

faizan.mustafa@uogsialkot.edu.pk
 Add some Link

 Use <A href=filename|URL></a>tags


 How to specify Relative pathnames

 Kinds of URLs
-http://www.women.or.kr
- ftp://ftp.foo.com/home/foo
- gopher://gopher.myhost.com/
- news://news.nuri.net
- mailto:skrhee@women.or.kr

faizan.mustafa@uogsialkot.edu.pk
 How to make colors changes?

 Hexadecimal number :
 Color names : <Font color=white>
 Changing the Background color
<BODY BGCOLOR=#19378a>
 Changing Text color
<BODY BGCOLOR=#19378a TEXT=#ffffff LINK=#ffff66
VLINK=#66ffff>
 Spot color
<FONT COLOR=#66ffcc>WENT'99</FONT>
 Image Background
<BODY BACKGROUND=bgimg.gif >
faizan.mustafa@uogsialkot.edu.pk

Вам также может понравиться