Chapter 16 The World Wide Web Nell Dale John Lewis.

Slides:



Advertisements
Similar presentations
1. XP 2 * The Web is a collection of files that reside on computers, called Web servers. * Web servers are connected to each other through the Internet.
Advertisements

Copyright © 2003 Pearson Education, Inc. Slide 3-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 7 1 Microsoft Office Word 2003 Tutorial 7 – Collaborating With Others and Creating Web Pages.
Introduction to HTML, XHTML, and CSS
HTML Basics Customizing your site using the basics of HTML.
4. Internet Programming ENG224 INFORMATION TECHNOLOGY – Part I
Creating Tables in a Web Site
Basic HTML Workshop LIS Web Team Spring 2007.
The World Wide Web. 2 The Web is an infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that.
31242/32549 Advanced Internet Programming Advanced Java Programming
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
XHTML Week Two Web Design. 2 What is XHTML? XHTML is the current standard for HTML Newest generation of HTML (post-HTML 4) but has many new features which.
Getting Familiar with Web Pages 1 2 The Internet Worldwide collection of interconnected computer networks that enables businesses, organizations, governments,
Dr. Alexandra I. Cristea XHTML.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition.
Chapter 16 The World Wide Web.
Kyung Hee University 1 1 Application Layer. 2 Kyung Hee University Position of Application Layer.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 16 – Part 2 The World Wide Web The New Yorker, Peter Steiner, July 5, 1993.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
Chapter 14 Applets. 2 Knowledge Goals Understand the differing roles of applications and applets Understand how a browser operates Understand the role.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
Developing a Basic Web Page with HTML
Chapter 16 The World Wide Web. 2 The World Wide Web (Web) is an infrastructure of distributed information combined with software that uses networks as.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Chapter 16 The World Wide Web. 2 The World Wide Web (Web) is an infrastructure of distributed information combined with software that uses networks as.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Chapter 16 The World Wide Web. 2 Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic HTML.
Chapter 16 The World Wide Web. 2 Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic HTML.
Chapter 16 The World Wide Web Chapter Goals ( ) Compare and contrast the Internet and the World Wide Web Describe general Web processing.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Chapter 16 The World Wide Web. 2 Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic HTML.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
1 HTML References: A HTML Tutorial: /HTMLPrimer.html
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
Chapter 16 The World Wide Web. 2 The Web is an infrastructure of distributed information combined with software that uses networks as a vehicle to exchange.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
Nell Dale & John Lewis (adaptation by Michael Goldwasser) The World Wide Web.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
Introduction to HTML.
Chapter 8 Introduction to HTML and Applets
Introduction to XHTML.
COMPUTING FUNDAMENTALS
Chapter 27 WWW and HTTP.
Chapter 16 The World Wide Web.
Presentation transcript:

Chapter 16 The World Wide Web Nell Dale John Lewis

16-2 Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic HTML documents Describe several specific HTML tags and their purposes

16-3 Chapter Goals (cont.) Describe the processing of Java applets and Java server pages Compare and contrast HTML and XML Define basic XML documents and their corresponding DTDs Explain how XML documents are viewed

16-4 The World Wide Web The Web is an infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information A Web page is a document that contains or references various kinds of data, such as text, images, graphics, and programs Web pages also contain links to other Web pages so that the user can “move around” as desired

16-5 The World Wide Web A Web site is a collection of related Web pages The Internet makes the communication possible, but the Web makes that communication easy, more productive, and more enjoyable

16-6 Web Browser A browser is a software tool that issues the request for the Web page we want and displays it when it arrives We often talk about “visiting” a Web site, as if we were going there –In truth, we actually specify the information we want, and it is brought to us –The concept of visiting a site is understandable in that we often don’t know what’s at a particular site until we “go to it” and see

16-7 Web Browser The computer that is set up to respond to Web requests is called a Web server A Web address is the core part of a Uniform Resource Locator, or URL, which uniquely identifies the page you want out of all of the pages stored anywhere in the world

16-8 Web Browser Figure 16.2 A browser retrieving a Web page

16-9 HTML Web pages are created (or built) using a language called the Hypertext Markup Language, or HTML The term markup language comes from the fact that the primary elements of the language take the form of tags that we insert into a document to annotate the information stored there

16-10 HTML Figure 16.2 A marked-up document

16-11 HTML Figure 16.3 The Student Dynamics Web page as displayed in Netscape Navigator

16-12 HTML Figure 16.4 The HTML document defining the Student Dynamics Web page

16-13 HTML Tags are enclosed in angle brackets ( ) Words such as HEAD, TITLE, and BODY are called elements and specify the type of the tag Tags are often used in pairs, with a start tag such as and a corresponding end tag with a / before the element name, such as

16-14 HTML The browser determines how the page should be displayed based on the tags –Ignores the way we format the HTML document using carriage returns, extra spaces, and blank lines –Takes into account the width and height of the browser window –When you resize the browser window, the contents of the Web page are reformatted to fit the new size

16-15 Basic HTML Formatting The paragraph tags (... ) specify text that should be treated as a separate paragraph The center tags (... ) indicate that the enclosed information should be centered in the browser window

16-16 Basic HTML Formatting The B, I, and U elements are used to indicate that the enclosed text should be bold, italic, or underlined, respectively The tag inserts a horizontal rule (that is, a line) across the page

16-17 Basic HTML Formatting We often have cause to display a list of items –The UL element stands for an unordered list, and the LI element represents a list item Several elements are used to define headings in a document –There are six predefined heading elements defined in HTML: H1, H2, H3, H4, H5, and H6

16-18 Images and Links Many tags can contain attributes that indicate additional details about the information or how the enclosed information should be displayed –An image can be incorporated into a Web page using the IMG element, which takes an attribute that identifies the image file to display –

16-19 Images and Links (cont.) A link is specified using the element A, which stands for anchor The tag includes an attribute called HREF that specifies the URL of the destination document. For example Documentation Central!

16-20 Interactive Web Pages When HTML was first developed, there was no way to interact with the information and pictures presented in a Web page As users have clamored for a more dynamic web, new technologies were developed to accommodate these requests Many of the new ideas were offshoots of the newly developed Java programming language

16-21 Java Applets A Java applet is a program that is designed to be embedded into an HTML document and transferred over the Web to someone who wants to run the program –An applet is embedded into an HTML document using the APPLET tag

16-22 Java Applets The browser has a built-in interpreter that executes the applet, allowing the user to interact with it. –Consider the difficulties inherent in this situation –How can we execute a program that was written on one type of computer on possibly many other types of computers?

16-23 Java Applets Java programs are compiled into Bytecode, a low-level representation of a program that is not the machine code for any particular type of CPU Java applets are restricted as to what they can do –The Java language has a carefully constructed security model –An applet, for instance, cannot access any local files or change any system settings

16-24 Java Server Pages A Java Server Page, or JSP, is a Web page that has JSP scriptlets embedded in them A scriptlet is a small piece of executable code intertwined among regular HTML content

16-25 Java Server Pages A JSP scriptlet is encased in special tags beginning with Imagine JSP scriptlets as having the expressive power of a full programming language Page 488

16-26 Java Server Pages Note that JSPs are executed on the server side where the Web page resides By the time it arrives at your computer, all active processing has taken place, producing a static (though dynamically created) Web page JSPs are particularly good for coordinating the interaction between a Web page and an underlying database

16-27 XML HTML has a predefined set of tags and each tag has its own meaning There is nothing about HTML tags that describes the true content of a document The Extensible Markup Language, or XML, allows the creator of a document to describe its contents by defining his or her own set of tags

16-28 XML XML is a metalanguage A metalanguage is a language for talking about, or defining, other languages

16-29 XML Like HTML, an XML document is made up of tagged data Figure 16.5 An XLML document containing data about books

16-30 XML Document Type Definition (DTD): a specification of the organization of the document The structure of a particular XML document is described by its corresponding DTD document Figure 16.6 The DTD document corresponding to the XML books document

XML XML represents a standard format for organizing data without tying it to any particular type of output Extensible Stylesheet Language (or XSL): A language for defining transformations from XML documents to other output formats Figure 16.7 An XML document can be transformed into many output formats

16-32 Ethical Issues: Cookies Internet cookies are very small text files (usually about 50 to 150 bytes) that are downloaded from a Web server to a Web browser Cookies were intended to allow a server to maintain information about those that visit it –For example, the cookie could contain a user ID and password for a Web site so that the information would not have to be reentered every time the Web site is visited

16-33 Ethical Issues: Cookies Companies, called targeted marketing companies, have evolved that sell cookie services These companies pay Web sites to send them copies of the cookies for each transaction and thus build up a profile of a user’s Internet habits This information is used for marketing and advertising purposes. Some people like the idea of having marketing and advertising targeted to their interests Others feel that this is an invasion of privacy