Chapter 16 The World Wide Web. 16-2 Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.

Slides:



Advertisements
Similar presentations
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.
Advertisements

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.
Chapter 16 The World Wide Web.
OMT II Mam Saima Gul. * Static web page * a web page with contents that remain fixed and unchanged once it has been created by the author Web server Client.
Project 1 Introduction to HTML.
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.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
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.
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.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
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 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
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.
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.
HTML (HyperText Markup Language)
Internet Fundamentals Total Advantage MS Excel 97, Hutchinson, Coulthard, 1998 McGraw Introduction to HTML Chapter 7.
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.
 2002 Prentice Hall, Inc. All rights reserved.2 Chapter 2 — Introduction to HyperText Markup Language 4: Part I Outline 2.1Introduction 2.2Markup Languages.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
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.
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
1 Week 1 l HTML l Applets Applets and HTML. 2 Overview l Applets: Java programs designed to run from a document on the Internet l HTML: Hypertext Markup.
Chapter 13. Applets and HTML HTML Applets Computer Programming with JAVA.
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.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
HTML Basic. What is HTML HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
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.
Online PD Basic HTML The Magic Of Web Pages
Introduction to HTML.
Tonga Institute of Higher Education IT 141: Information Systems
Introduction to XHTML.
WEBSITE DESIGN Chp 1
Chapter 27 WWW and HTTP.
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
Chapter 16 The World Wide Web.
Pertemuan 1 Desain web Pertemuan 1
WJEC GCSE Computer Science
Presentation transcript:

Chapter 16 The World Wide Web

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 Describe the processing of Java applets and Java server pages Compare and contrast HTML and XML Define basic XML documents and their corresponding DTDs (Skip) Explain how XML documents are viewed (Skip)

16-4 The World Wide Web The Web A distributed system built on top of the Internet: includes distributed pages and browsers to access them Test Question: Who invented the Web? Web page A document hosted on a Web site that contains or references various kinds of data, such as text, images, graphics, and programs Links A connection between one web page and another that can be used “move around” as desired AKA Hyperlink

16-5 The World Wide Web Website A collection of related Web pages The Internet makes communication possible, but the Web makes communication easy, productive, and enjoyable Test Question: What is the difference between the Web and the Internet?

16-6 Search Engines Search Engine A website that helps you find other websites –For example, Google and AskJeeves are search engines –You enter keywords and the search engine produces a list of links to potentially useful sites There are many ways to search: –Keyword searches in Google –Guess URL –Hierarchy of topics, i.e. Yahoo –Specialized search engines or site engines –Metasearch engines i.e. dogpile.com –Ask an expert –If all else fails, go to the library

16-7 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, really?

16-8 Web Browser Browser A software tool that requests the Web page we want and displays it when it arrives Some browsers: –Lynx (text mode, now for visually impared) –Mosaic ( Test Question: Who invented the graphical (GUI) browser?) –Netscape (Now a part of AOL) –Internet Explorer (You know who) –Mozilla Firefox (Open source) –Opera

16-9 Web Browser Web server The computer that is set up to respond to web requests Web address The core part of a Uniform Resource Locator, or URL, which uniquely identifies the page you want out

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

16-11 HTML Web pages are created using a markup language called the Hypertext Markup Language, or HTML The term markup language comes from the fact that primary elements of the language are tags that we insert into a document to tell the browser how to display the information stored there. Originally used for printers

16-12 HTML Figure 16.2 A marked-up document

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

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

16-15 HTML Tags are enclosed in angle brackets ( ) Words like HEAD, TITLE, and BODY are called elements and specify type of tag Tags are used in pairs, with a start tag such as and an end tag with a / before the element name, such as (a few may have 1 tag) Attributes (later) are sometimes added to tags to supply more information

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

16-17 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-18 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-19 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-20 Images and Links Many tags can contain attributes that indicate additional details about how the 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-21 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 Loyola Home

16-22 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 Some new ideas were offshoots of the newly developed Java programming language

16-23 Java Applets Java applet 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-24 Java Applets A 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-25 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-26 JavaScript is a computer programming language that might be called a simple version of Java Simple languages like this are called scripting languages. Others are perl, php, … JavaScript is intended to make Web pages more dynamic. Example “Mouseovers” are implemented in JavaScript HTML is NOT a programming language, it is a markup language that just shows how to display a page

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