dr. chen, management information systems (web#2) web2 and web/html introduction dr. jason c. h. chen...

30
Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration Gonzaga University Spokane, WA 99258 [email protected]

Upload: rosanna-phillips

Post on 27-Dec-2015

227 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Web2 and WEB/HTML Introduction

Dr. Jason C. H. ChenProfessor of MIS

School of Business AdministrationGonzaga UniversitySpokane, WA 99258

[email protected]

Page 2: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Web#1 and Web#2• Web#1

– You will learn the “process” of creating your first personal web page

– How to submit it directly from Bb.

• Web#2– You will improve your personal web page using

your “logical reasoning” and “intelligence”

• html01thru html04– Learn more from html text book and complete

four additional assignments

Page 3: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

What is Technology andWhy Technology?

• Technology is not only considered simply as an asset or a capability to manage but also as a factor that has an impact on almost every management method and practice.

Page 4: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

You are here

Barney machines

File Server in Jepsonnt2

· My Network Places· Entire Network· Microsoft Windows Network· Gonzaga· Jepsonnt2· Chuang· BMIS235, MBUS342,

MBUS626, MBUS674

H: drive· public_html· other folders

Lab 07, 012, & 021

Basic services· email· Web pages

· A:· C:· D: or G: · H: (Virtual directory)

mapping to accounts in Barney Systems

· My Network Places

Drives on Local PC

Page 5: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Introducing the World Wide Web

• A network is a structure linking computers together for the purpose of sharing resources such as printers and files

• Users typically access a network through a computer called a host or node

• A computer that makes a service available to a network is called a server

Page 6: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Introducing the World Wide Web

• A computer or other device that requests services from a server is called a client

• One of the most common network structures is the client-server network

• If the computers that make up a network are close together (within a single department or building), then the network is referred to as a local area network (LAN) MAN?

WAN?

Page 7: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Introducing the World Wide Web

• A network that covers a wide area, such as several buildings or cities, is called a wide area network (WAN)

• The largest WAN in existence is the Internet• In its early days, the Internet was called

ARPANET and consisted of two network nodes located at UCLA and Stanford, connected by a phone line

Page 8: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Introducing the World Wide Web

• Today the Internet has grown to include hundreds of millions of interconnected computers, cell phones, PDAs, televisions, and networks

• The physical structure of the Internet uses fiber-optic cables, satellites, phone lines, and other telecommunications media

Page 9: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Structure of the Internet

Page 10: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

The Development of the Word Wide Web

• Timothy Berners-Lee and other researchers at the CERN nuclear research facility near Geneva, Switzerland laid the foundations for the World Wide Web, or the Web, in 1989

• They developed a system of interconnected hypertext documents that allowed their users to easily navigate from one topic to another

• Hypertext is a method of organizing information that gives the reader control over the order in which the information is presented

Page 11: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Hypertext Documents

• When you read a book, you follow a linear progression, reading one page after another

• With hypertext, you progress through pages in whatever way is best suited to you and your objectives

• Hypertext lets you skip from one topic to another

Page 12: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Linear versus hypertext documents

Page 13: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Hypertext Documents

• The key to hypertext is the use of hyperlinks (or links) which are the elements in a hypertext document that allow you to jump from one topic to another

• A link may point to another section of the same document, or to another document entirely

• A link can open a document on your computer, or through the Internet, a document on a computer anywhere in the world

Page 14: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Hypertext Documents,Web Servers and Web Browsers

• An entire collection of linked documents is referred to as a Web site

• The hypertext documents within a Web site are known as Web pages

• Individual pages can contain text, audio, video, and even programs that can be run remotely

• A Web page is stored on a Web server, which in turn makes it available to the network

• To view a Web page, a client runs a software program called a Web browser, which retrieves the page from the server and displays it

Page 15: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Using a browser to view a Web document from a Web server

Page 16: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

HTML: The Language of the Web

• A Web page is a text file written in a language called Hypertext Markup Language

• A markup language is a language that describes a document’s structure and content

• HTML is not a programming language or a formatting language

• Styles are format descriptions written in a separate language from HTML that tell browsers how to render each element. Styles are used to format your document

Page 17: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Type in the following URLs

http://barney.gonzaga.edu/~your_userID

http://barney.gonzaga.edu/~chenta

http://barney.gonzaga.edu/~chenta2

http://barney.gonzaga.edu/~chen

Page 18: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Figure 1. index.html<!-- ************************************************************** Author: Jason Chen; File name: index.html Date: 5/25/2012 BMIS235-01 ROW: 1 This portion shows COMMENTS ********************************************************** --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Home Page for Jason Chen</title><style type="text/css"><!--css codes to be added here--></style></head><body style="background-color:lightgreen;" ><center> <h1>Welcome to JASON CHEN's Home Page! </h1> </center> <br /> <br /><ul style="list-style-type: circle; text-indent: 15pt"> <li><a href="myself.pptx"> <b>Know more about me with PowerPoint presentation </b></a> </li> <li><a href="myresume.docx"><b>Visit my resume (MS-WORD format)</b></a> </li></ul><br /><br /> <address>For comments about my web site, please e mail me at:<a href="MAILTO: your actual email address">your actual email address</a><br />This document was last updated on May 21, 2012</address> </body></html>

one word

From now on, it (your personal information) is required for ALL assignments to be added.

How to improve it?

CSS code

Page 19: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

<!-- the "BACKGROUND" overwrites 'background-color' --><body style="background-color:lightgreen" text="black" link="red" vlink="blue" alink="aqua" background="images/wall.gif"><a name="top"> </a><script type="text/javascript"> document.write(Date()) </script><center> <h1>Welcome to JASON CHEN's Home Page! </h1> </center> <br /> <br /><ul style="list-style-type: circle; text-indent: 15pt"> <li><a href="myself.pptx"> <b>Know more about me with PowerPoint presentation </b></a> </li> <li><a href="myresume.docx"><b>Visit my resume (MS-WORD format) </b></a> </li></ul><img src="images/book.gif" height="100" width="100" align="right" alt="Book logo" /> <br /> <br /> <br /> <br /> <br /> <br /><pre> <b> ******************************************************* &copy; (your name here) ... (your add any appropriate information here) ... *******************************************************</b> </pre><br /> <br /> <br /> <br /> <br /> <br /><center> <a href="#top"><span style="font-size: small">Go to the Top of the Page! </span></a> </center> <address>For comments about my web site, please e-mail me at:<a href="MAILTO:[email protected]">[email protected] <img src="images/mailbox.gif" height="36" width="36" alt="Mailbox logo"/></a></address> <br />This document was last updated on:<script type="text/javascript"> document.write(document.lastModified);</script>

Anything Else?

Figure 1. revised partially index.html (for Web2)

Page 20: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Creating Links Within a Document

• To create a link within a document, you enclose the content that you want to format as a link in an <a> tag, and use the href attribute to identify the link target

• A link’s content is not limited to text

<ul style="list-style-type: circle; text-indent: 15pt"> <li><a href="myself.pptx"> <b>Know more about me with PowerPoint presentation </b></a> </li> <li><a href="myresume.docx"><b>Visit my resume (MS-WORD format) </b></a> </li></ul>

Page 21: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Creating Element Ids for Linking Documents

• One way to identify elements in an HTML document is to use the id attribute

• Id names must be unique• Id names are not case sensitive

In web#2

<a name=“top">

<a href="#top"><span style="font-size: small">Go to the Top of the Page! </span></a>

Page 22: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

What you should do on Web#2• Your job in Web#2 is to figure out ALL

differences between Web#1 and Web#2 and update the existing index.html with the version of Web#2.

• How?– 1) Open index.html using NotePad or NotePad++– 2) Update index.html with A)LL changes in

Web#2– 3) Use your intelligence to find their differences

Page 23: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

Figure 2. updated index.html (for Web2)<!-- ******************************************************************************* Author: Jason Chen; File name: index.html Date: 5/25/2012 BMIS235-01 ROW: 1 Note that there is an image folder (images) created in this version This portion shows COMMENTS **********************************************************************************-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Home Page for Jason Chen</title><style type="text/css"><!--css codes to be added here--></style></head><!-- the "BACKGROUND" overwrites 'background-color' --><body style="background-color:lightgreen" text="black" link="red" vlink="blue" alink="aqua" background=“…"><a name="top"> </a><script type="text/javascript"> document.write(Date()) </script><center> <h1>Welcome to JASON CHEN's Home Page! </h1> </center> <br /> <br />

link (Unvisited color)vlink (previously linked color)alink (activated link color)

See Appendix B for Color Names and Color Values

Why “images/…” is added?

CSS code

Page 24: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

This is required for all HTML HW

<ul style="list-style-type: circle; text-indent: 15pt"> <li><a href="myself.pptx"> <b>Know more about me with PowerPoint presentation </b></a> </li> <li><a href="myresume.docx"><b>Visit my resume (MS-WORD format) </b></a> </li></ul>

.………

<address>For comments about my web site, please e-mail me at:<a href="MAILTO:[email protected]">[email protected] <img src="images/mailbox.gif" height="36" width="36" alt="Mailbox logo"/></a></address>

Page 25: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

<!-- the following is required for all assignments --><br />This document was last updated on:<script type="text/javascript"> document.write(document.lastModified);</script> <hr size="3" width="100%" /><center><h5> ……

<img src="images/gcan.gif" height="30" width="30" alt="Goan logo" /><a href="http://www.gonzaga.edu">Gonzaga</a> </h5> </center><hr size="3" width="100%" /></body></html>

This is required for all HTML HW

Page 26: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

1. Create an ‘images’ folder and copy image files (see Figure 1 for your web structure). You should copy required six image files from my images folder to your Web source. They are available for you to download from the Blackboard (under either Course Documents or Assignments). Follow the instruction below to complete the task:

From within H: Drive, a) create a new folder of images (lower case) under public_html From within Blackboard b) right click an image file (e.g., book.gif) select “Save Target As or Save Link As” from the pop-up menu save the book.gif in the folder of images that you just created in step a)

Please note that i) if you do not have images folder in the H: drive, you should create it before you save the image file ii) if you are working your assignment off campus, you should first save ALL image files on your local PC, you then upload (FTP) them to your Web source. iii) repeat steps b) c) d) for the remaining image files.

Two major tasks for completing the Web#2

Page 27: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

images [images folder]

H: [root directory] |

public_html [web folder]

index.htmlmyself.pptxmyresume.docx

gook.gif, events.gifgcan.gif, wall.gifmailbox.gif, worm.gif

Figure 1. Web Strructure

Page 28: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

• 4. It is required to “Validate” and “View” your HTML code and debug/correct the code before you submit the assignment (see HTML p.73-77 or a pdf file for Validating HTML code for details)

• 5. What/How you should turn in: email me with the following information (Fail to provide me with ALL information, you will lose major points)

a) To: [email protected]

b) Subject: BMIS235-03 Web#2

c) Message :

Dr. Chen,

Here is my Web#2 assignment.

http://barney.gonzaga.edu/~your_userID

 

<Your Full Name> at the end of the message line

so that I can record/grade your homework•  

Page 29: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

What/How you should turn in 6. What/How you should turn in: email me with the following

information (Fail to provide me with ALL information, you will lose major points)

Submit the Web#2 via Blackboard. Message :

Dr. Chen

This is my Web#2assignment

http://barney.gonzaga.edu/~your_userID

<Your Full Name> : BMIS235-03 (or BMIS235-04/05)

so that your grade will be posted correctly..

Make the URL linkable

Page 30: Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration

Dr. Chen, Management Information Systems (Web#2)

• What happen if you are working your web assignments off campus?

FTP