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.

Slides:



Advertisements
Similar presentations
Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Advertisements

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.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Chapter 16 The World Wide Web Nell Dale John Lewis.
HTML. The World Wide Web Protocols Addresses HTML.
Chapter 16 The World Wide Web.
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.
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.
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.
Creating Web Pages Getting Started. Overview What Web Pages Are How Web Pages are Formatted Putting Graphics on Web Pages How Web Pages are Linked Linking.
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.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
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.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
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
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
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.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
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 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.
Chapter 13. Applets and HTML HTML Applets Computer Programming with JAVA.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
HTML: Hyptertext Markup Language Doman’s Sections.
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)
Introduction to HTML. Today’s Discussion What is HTML ? What is HTML ? What is Web Page ? What is Web Page ? Web Server Web Server Web Browser Web Browser.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
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.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
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.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Chapter 8 Introduction to HTML and Applets
WWW and HTTP King Fahd University of Petroleum & Minerals
Introduction to XHTML.
COMPUTING FUNDAMENTALS
Chapter 27 WWW and HTTP.
Introduction to HTML- Basics
Chapter 16 The World Wide Web.
INFS 230 L Internet Technology
Presentation transcript:

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 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

3 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

4 Web Browsers 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

5 The World Wide Web 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

6 The World Wide Web Figure 16.1 A browser retrieving a Web page

7 Search Engines Search Engine A website that helps you find other websites How do they work?

8 Instant Messaging Instant messaging (IM) An application that allows people to send and receive messages in real time –Both sender and receiver must have an IM running –Most IM applications use a proprietary protocol that dictates the precise format and structure of the messages sent –Instant messages are not secure

9 Weblogs Blog or Weblog An online journal or newsletter that is frequently updated and intended for public consumption

10 Cookies Cookie A small text file that a web server stores on your local computer’s hard disk –A cookie contains information about your visit to the site –Cookies can be used to determine number of unique visitors to the site to customize the site for your future visits to implement shopping carts that can be maintained from visit to visit –Cookies are not dangerous

11 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

12 HTML Figure 16.2 A marked-up document

13 HTML Figure 16.3 The Student Dynamics Web page as displayed in Netscape Navigator

14 HTML Figure 16.4 The HTML document defining the Student Dynamics Web page

15 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 HTML The browser determines how the page should be displayed based on the tags The browser –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 –Reformats the contents to fit your browser window

17 Basic HTML Formatting... specify that text should be treated as a separate paragraph... center information in the browser window … bold information … italicize information insert horizontal rule across page

18 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

19 Images 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 –

20 Links A link is specified using the element A, (which stands for anchor) and attribute HREF that specifies the URL of the destination document. Factorial- Byte

21 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 Some (but not all) of the new ideas were offshoots of the newly developed Java programming language

22 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

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

24 Java Applets Example link: Contents of FactByte.htm: Factorial with Byte Result Enter increasing values beginning with 0 and record the results of the Factorial of your input. At some point, the answer will seem strange. Record what seems strange about the answer and return to the previous page. FactByte.class contains the Java applet

25 Java Server Pages JSP Scriptlet A portion of code embedded in an HTML document designed to dynamically contribute to the content of the web page Java Server Page A web page that has a JSP scriptlet interwoven among the HTML content

26 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

27 Java Server Pages 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 Compare and contrast Java applets and JSP scriptlets

28 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

29 XML XML is a metalanguage A metalanguage is a language for talking about, or defining, other languages

30 XML Like HTML, an XML document is made up of tagged data Figure 16.5 An XML document containing data about books

31 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