The Web. Session 4 INST 301 Introduction to Information Science

Similar documents
Practicum: Networks, Basic HTML. Week 2 LBSC 690 Information Technology

Physical Infrastructure. Week 1 INFM 603

Structured documents and (X)HTML. Week 3 LBSC 690

Physical Infrastructure. Week 1 INFM 603

The Internet. Session 3 INST 301 Introduction to Information Science

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

Html basics Course Outline

Computing. Week 9 LBSC 671 Creating Information Infrastructures

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

LING 408/508: Computational Techniques for Linguists. Lecture 14

CSC 121 Computers and Scientific Thinking

Introduction to Web Technologies

HTML. Hypertext Markup Language. Code used to create web pages

11. HTML5 and Future Web Application

Uniform Resource Locators (URL)

A Balanced Introduction to Computer Science, 3/E

Introduction to Computer Science (I1100) Internet. Chapter 7

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

A Brief Introduction to HTML

1.264 Lecture 12. HTML Introduction to FrontPage

Introduction to WEB PROGRAMMING

Bridges To Computing

I-5 Internet Applications

3. WWW and HTTP. Fig.3.1 Architecture of WWW

Web Engineering (Lecture 01)

Selected Sections of Applied Informatics

(1) I (2) S (3) P allow subscribers to connect to the (4) often provide basic services such as (5) (6)

What You Will Learn Today

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

Chapter 4. Introduction to XHTML: Part 1

Chapter 11: Wide-Area Networks and the Internet

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language)

HTML OBJECTIVES WHAT IS HTML? BY FAITH BRENNER AN INTRODUCTION

Introduction to Computer Science (I1100) Internet. Chapter 7

Global Servers. The new masters

HTML, CSS, JavaScript

Introduction to web development and HTML MGMT 230 LAB

Session 2: HTML and CSS (And Computing Tradeoffs, Networking)

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Geocaching HTML & BBCode FUNdamentals by Scott Aleckson (SSO JOAT)

Layout Manager - Toolbar Reference Guide

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

Management Information Systems

request HTML Document send HTML Document

ICT IGCSE Practical Revision Presentation Web Authoring

Certified HTML5 Developer VS-1029

Web Publishing Basics I

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

Programmazione Web a.a. 2017/2018 HTML5

Motivation (WWW) Markup Languages (defined). 7/15/2012. CISC1600-SummerII2012-Raphael-lec2 1. Agenda

HTTP & Websites. Web Browsers. Web Servers vs. Web sites. World Wide Web. Internet Explorer. Surfing the World Wide Web. Part 4. The World Wide Web

Chapter 4 A Hypertext Markup Language Primer

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Chapter 1 Introduction to HTML, XHTML, and CSS

(Refer Slide Time: 01:41) (Refer Slide Time: 01:42)

HTML. LBSC 690: Jordan Boyd-Graber. October 1, LBSC 690: Jordan Boyd-Graber () HTML October 1, / 29

HYPERTEXT MARKUP LANGUAGE ( HTML )

Web Development and HTML. Shan-Hung Wu CS, NTHU

Web Design and Development ACS Chapter 3. Document Setup

Creating A Web Page. Computer Concepts I and II. Sue Norris

Using Dreamweaver CS3 to Create and Publish Simple Web Pages

The Internet & The World Wide Web

Creating Web Pages. Getting Started

Hyper Text Markup Language

Beginning Web Site Design

Hyper Text Markup Language

CS WEB TECHNOLOGY

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

More about HTML. Digging in a little deeper

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.

FIT 100 LAB Activity 3: Constructing HTML Documents

Chapter 4: Networking and the Internet

Session 2. Background. Lecture Objectives

Building Your Website

Jianhui Zhang, Ph.D., Associate Prof. College of Computer Science and Technology, Hangzhou Dianzi Univ.

Certified HTML Designer VS-1027

Scientific Communication CITS4008. Designing and Writing Web Pages Rachel Cardell-Oliver 2013 Based on notes by Robyn Owens

COPYRIGHTED MATERIAL. The Basics of HTML. What Is the World Wide Web?

Web Development IB PRECISION EXAMS

HTML TIPS FOR DESIGNING.

Objectives. Connecting with Computer Science 2

HTMLnotesS15.notebook. January 25, 2015

Java Applets, etc. Instructor: Dmitri A. Gusev. Fall Lecture 25, December 5, CS 502: Computers and Communications Technology

Internet Client-Server Systems 4020 A

Announcements. Paper due this Wednesday

Hyper Text Markup Language HTML: A Tutorial

HTML Images - The <img> Tag and the Src Attribute

Introduction to the Internet and World Wide Web p. 1 The Evolution of the Internet p. 2 The Internet, Intranets, and Extranets p. 3 The Evolution of

CSC Web Programming. Introduction to HTML

UR what? ! URI: Uniform Resource Identifier. " Uniquely identifies a data entity " Obeys a specific syntax " schemename:specificstuff

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

INTRODUCTION TO WEB USING HTML What is HTML?

HTML = hyper text markup language

5/17/2009. Marking Up with HTML. An HTML Web Page File. Tags for Bold, Italic, and underline. Structuring Documents

Page Layout Using Tables

Transcription:

The Web Session 4 INST 301 Introduction to Information Science

Outline Using The Internet The Web Creating Web pages

TCP/IP layer architecture Application Virtual network service Application Transport Virtual link for end to end packets Transport Network Network Network Network Virtual link for packets Link Link Link Link Link Link Link for bits Link for bits Link for bits

Transmission Control Protocol (TCP) Built on the network-layer version of UDP Guarantees delivery all data Retransmits missing data Guarantees data will be delivered in order Buffers subsequent packets if necessary No guarantee of delivery time Long delays may occur without warning

User Datagram Protocol (UDP) The Internet s basic transport service Sends every packet immediately Passes received packets to the application No delivery guarantee Collisions can result in packet loss Example: sending clicks on web browser

File Transfer Program (FTP) Used to move files between machines Upload (put) moves from client to server Download (get) moves files from server to client Both visual and command line interfaces available Normally requires an account on the server Userid anonymous provides public access

Hands On: Graphical Secure FTP Install WinSCP (Windows) or Fetch (Mac) In Network at https://terpware.umd.edu/ SFTP to terpconnect.umd.edu Change directory to /pub/userid Upload or download files You can see these files at: http://terpconnect.umd.edu/~userid/

Virtual Private Networks a secure private network over the public Internet Public Internet Intranet virtual leased line Intranet

Outline Using The Internet The Web Creating Web pages

The ARPANET J.C.R. Licklider Bob Taylor Larry Roberts

The Web

The World-Wide Web My Browser Local copy of Page requested Proxy Server Fetch Page Requested Page Send Request Internet Remote Sever

The Web HTML HTTP URL Email FTP RTSP URL (e.g.,http://www.foo.org/snarf.html) Web Server File System HTML (data/display) Internet communication protocols HTTP (transfer)

Web Standards HTML How to write and interpret the information URL Where to find it HTTP How to get it

Uniform Resource Locator (URL) Uniquely identify Web pages Domain name File name http://www.glue.umd.edu:80/~oard/teaching.html Protocol Port Path

HyperText Markup Language (HTML) Simple document structure language for Web Advantages Adapts easily to different display capabilities Widely available display software (browsers) Disadvantages Does not directly control layout

Outline Using the Internet The Web Creating Web pages

Hello World HTML This is the header <html> <head> <title>hello World!</title> </head> <body> <p>hello world! This is my first webpage!</p> </body> </html> This is the actual content of the HTML document

Hands On: Learning HTML From Examples Use Internet Explorer to find a page you like http://terpconnect.umd.edu/~oard Right-click and select view souce Opens a notepad window with the source Compare HTML source with the Web page Observe how each effect is achieved

Hands On: Adopt a Web Page Modify the HTML source using notepad For example, change the page to yours Save the HTML source somewhere In the File menu, select Save As Put the name in quotes (e.g., test.html ) FTP it to your../pub directory on terpconnect View it http://terpconnect.umd.edu/~(yourlogin)/test.html

Tips Edit files on your own machine Upload when you re happy Save early, save often! Reload browser to see changes File naming Don t use spaces Punctuation matters

Several are available Dreamweaver Microsoft Word HTML Editors You may still need to edit the HTML file Some editors use browser-specific features Some HTML features may be unavailable File names may be butchered when you upload Verbose HTML can make hand-editing difficult

HTML Structure Tags mark structure <html>a document</html> <ol>an ordered list</ol> <i>something in italics</i> Tag name in angle brackets <> Not case sensitive (unlike XML) Open/Close pairs Close tag is sometimes optional (unlike XML)

Logical Structure Tags Head Title Body Headers: <h1> <h2> <h3> <h4> <h5> Lists: <ol>, <ul> (can be nested) Paragraphs:<p> Definitions: <dt><dd> Tables: <table> <tr> <td> </td> </tr> </table> Role: <cite>, <address>, <strong>,

Physical Structure Tags Bold: <b></b> Italics: <i></i> Typeface: <font face= Arial ></font> Size: <font size= +1 ></font> Color: <font color= 990000 ></font>

index.html (Hyper)Links <html> <head> <title>hello World!</title> </head> <body> <p>hello world! This is my first webpage!</p> <p>click <a href="test.html">here</a> for another page.</p> </body> </html> test.html <html> <head> <title>another page</title> </head> <body> <p>this is another page.</p> </body> </html>

Hypertext Anchors Internal anchors: somewhere on the same page <a href= #students > Students</a> Links to: <a name= students >Student Information</a> External anchors: to another page <a href= http://ischool.umd.edu >ischool</a> <a href= http://terpconnect.umd.edu/~oard/research.html#email >email papers</a> URL may be complete, or relative to current page <a href= video/week2.mp4 >2</a> File name (in URL) is case sensitive (on Unix servers) Protocol and domain name are not case sensitive

Images <img src= URL > or <img src= path/file > <img src= http://www.clis.umd.edu/images/head.gif > ALT: a text string ALIGN: position of the image WIDTH and HEIGHT: size of the image Can use as anchor: <a href=url><img src=url2></a>

Tables <table> <tr> <td> </td> <td> </td> <td> </td> eenie mennie miney </tr> mo catch a tiger <tr> <td> </td> <td> </td> <td> </td> </tr> by the toe <tr> <td> </td> <td> </td> <td> </td> </tr> </table>

Table Example <table align= center > <caption align= right >The caption</caption> < tr align= LEFT > <th> Header1 </th> <th> Header2</th> </tr> <tr><td>first row, first item </td> <td>first row, second item</td></tr> < tr><td>second row, first item</td> <td>second row, second item</td></tr> </table>

Programming for the Web JavaScript [Client-side] Server embeds a program in HTML Browser runs the program when it gets to it PHP Common Gateway Interface [Server-side] HTML form sends field values to the server Server passes field values to a program Program generates a Web page as a response Ajax Server sends browser a generic program to run Browser and server programs exchange XML-encoded data

JavaScript <HTML> <HEAD> <TITLE>My first script</title> </HEAD> <BODY BGCOLOR=WHITE> <H1> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> document.write("hello, world!") </SCRIPT> </H1> </BODY></HTML>

What s a Web Page? Content Structure Appearance Behavior

Why is There a Web? Affordable storage 300,000 words/$ in 1995 Adequate backbone capacity 25,000 simultaneous transfers in 1995 Adequate last mile bandwidth 1 second/screen in 1995 Display capability 10% of US population in 1995 Effective search capabilities Lycos and Yahoo were started in 1995

Next Week

Before You Go On a sheet of paper, answer the following (ungraded) question (no names, please): What was the muddiest point in today s class?