Structured Documents Week 3 LBSC 690 Information Technology.

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

HTML Basics Customizing your site using the basics of HTML.
Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Web Development & Design Foundations with XHTML
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Structured Documents Week 3 LBSC 690 Information Technology.
Week 4 LBSC 690 Information Technology Multimedia.
Documents, Text Editors, Text Retrieval, and Web Pages Class 3 LBSC 690 Information Technology.
CIS101 Introduction to Computing
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
Structured Documents Week 3 LBSC 690 Information Technology.
Developing a Basic Web Page with HTML
Dreamweaver 8 Concepts and Techniques Introduction Web Site Development and Macromedia Dreamweaver 8.
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.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
COMPUTERS AND INFORMATION SYSTEMS HTML. How the Web Works To access a web site  Enter its address (URL) in the address box of your browser 
UNDERSTANDING WEB AND WEB PROJECT PLANNING AND DESIGNING AND EFFECTIVE WEBSITE Garni Dadaian.
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.
Why Worry About the WWW? Intranets -- with lots of HR applications »policies/procedures »job postings »benefits & other transactions »hiring & other workflows.
Creating a Simple Page: HTML Overview
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Content Management Systems Week 5 LBSC 690 Information Technology.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
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.
Internet Fundamentals Total Advantage MS Excel 97, Hutchinson, Coulthard, 1998 McGraw Introduction to HTML Chapter 7.
Week 4 LBSC 690 Information Technology
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
Understanding HTML Code
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
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.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
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.
HTML,DHTML & Javascript/Session1/1 of 39 Introduction and Basic Tags Session 1 of Using HTML, DHTML & JavaScript.
Web Design 3080 – Week 2 More Fun With Delicious.com Setting up a ‘network’. 1.Go to Delicious.com and sign up for a personal account 2.Once your account.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
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.
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
HTML – The Basics COE 201- Computer Proficiency. The Internet The World Wide Web ▫Also known as the Web ▫Created in 1989  European Laboratory for Particle.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
The Web Session 4 INST 301 Introduction to Information Science.
1 HTML: HyperText Markup Language Representation and Management of Data on the Internet.
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
Web Design – Week 2 Introduction to website basics Website basics: How the Web Works Client / server architecture Packet switching URL components.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
Tutorial 1 Getting Started with Adobe Dreamweaver CS5.
Finally getting to html and CSS… Tim Berners-Lee, the writer of the software program that makes him the inventor of the WWW, defines the Internet as a.
Introduction to HTML.
HTML Basics.
Instructor Materials Chapter 5 Providing Network Services
Web Site Development and Macromedia Dreamweaver 8
Project 1 Introduction to HTML.
CISC103 Web Development Basics: Web site:
Documents, Text Editors, and Web Pages
Chapter 16 The World Wide Web.
Presentation transcript:

Structured Documents Week 3 LBSC 690 Information Technology

Outline Muddiest points Building the Web Building a better Web

Muddiest Points Encryption Packet vs. circuit switching The TCP/IP “protocol stack”

Encryption Secret-key systems (e.g., DES) –Use the same key to encrypt and decrypt Public-key systems (e.g., PGP, PKI) –Public key: open, for encryption –Private key: secret, for decryption Digital signatures –Encrypt with private key, decrypt with public key

Encryption Issues Key length –128 bits balances speed and protection today Trust infrastructure –How do you prevent “bait and switch”? –Who certifies a digital signature is valid?

Encrypted Applications Secure Shell (SSH) –Replaces Telnet Secure FTP (SFTP)/Secure Copy (SCP) –Replaces FTP Secure HTTP (HTTPS) –Used for financial and other private data Wired Equivalent Protocol (WEP) –Used on wireless networks

Packet vs. Circuit Networks Telephone system (“circuit-switched”) –Fixed connection between caller and called –High network load results in busy signals Internet (“packet-switched”) –Each transmission is routed separately –High network load results in long delays

Packet Switching Break long messages into short “packets” –Keeps one user from hogging a line Route each packet separately –Number them for easy reconstruction Request retransmission for lost packets –Unless the first packet is lost!

The TCP/IP “Protocol Stack” Link layer moves bits –Ethernet, cable modem, DSL Network layer moves packets –IP Transport layer provides services to applications –UDP, TCP Application layer uses those services –DNS, FTP, SSH, …

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

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

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 on the WWW –Domain name –Directory path –File name URL: Domain name Directory path File name

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

Hands On: Learning HTML From Examples Use Internet Explorer to find a page you like – – On the “View” menu select “Source” –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 on your “M:” drive –In the “File” menu, select “Save As” –Select “All Files” and name it “test.html” FTP it to your ~/pub directory on WAM –ftp wam.umd.edu –cd../pub/ –put test.html View it –

HTML Document Structure “Tags” mark structure – a document – an ordered list – something in italics Tag name in angle brackets <> –Not case sensitive Open/Close pairs –Close tag may be optional (if unambiguous)

Logical Structure Tags Head –Title Body –Headers: –Lists:, (can be nested) –Paragraphs: –Definitions: –Tables: –Role:,,, …

Rendering Different devices have different capabilities –Desktop –PDA Rendering maps logical tags to physical layout –Controls line wrap, size, font… Place the title in the page border Render as 24pt Times Render as bold Somewhat browser-dependent –Internet Explorer and Netscape make different choices

Physical Structure Tags Font –Typeface: –Size: –Color: Emphasis –Bold: –Italics:

Hypertext “Anchors” Links make the Web a web! Internal anchors: somewhere on the same page – Students Links to: Student Information External anchors: to another page – CLIS – CLIS students

Images or – –SRC: can be url or path/file –ALT: a text string –ALIGN: position of the image –WIDTH and HEIGHT: size of the image Can use as anchor: – Example: –

Tables The caption Header1 Header2 first row, first item first row, second item second row, first item second row, second item Example:

Frames Divide browser pages into separate sections –Useful when you want to scroll separately Each section can display an HTML page Example 1: menu frame on the left side of a page Example 2: –

Designing Web Pages Key design issues: –Content: What do you want to publish? –Style: How do you want to present it? –Syntax: How can you achieve that presentation? Sources of information –Online tutorials (Yahoo points to lots of these) –Technical materials (e.g., the HTML 4.0 spec)

Some Style Guidelines Design for generic browsers –And test on every version you wish to support ? Provide appropriate “access points” –User needs and navigation strategies differ Design useful navigational aids –A Web search may lead to the middle of a site Include some indication of currency –Date of last update, “new” icons, etc. Indicate who is responsible for the content –Helps readers assess authority

Accessibility Guidelines Design for device independence Maintain backward compatibility –Provide alternative pages if necessary Provide alternatives for aural and visual content –Alt tags for images, transcripts for audio Make is easy for assistive devices to work –Combine structural markup and style sheets –Give a title to each frame –Use HTML tables only for tabular data –Use markup to indicate language switching

HTML Editors Goal is to create Web pages, not learn HTML! Several are available –In Explorer, “File” - “Edit with Front Page” –In Netscape, “File” – “Edit Page” for Composer You may still need to edit the HTML file –Some editors use browser-specific features –Some HTML features may be missing entirely –File names may be butchered by FTP Tend to use physical layout tags extensively –Detailed control can make hand-editing difficult

HTML Validators Syntax checking: cross-browser compatibility – Style checking: improved accessibility –

What’s Wrong with the Web? HTML –Confounds structure and appearance (XML) HTTP –Can’t recognize related transactions (Cookies) URL –Links breaks when you move a file (PURL)

Discussion Point: Describing the Structure of Text Entities –Span –Type/Attributes Relationships –Part-whole –Is-a

What’s a Document? Content Structure Appearance Behavior

History of Structured Documents Early standards were “typesetting languages” –NROFF, TeX, LaTeX, SGML HTML was developed for the Web –Too specialized for other uses Specialized standards met other needs –Change tracking in Word, annotating manuscripts, … XML seeks to unify these threads –One standard format for printing, viewing, processing

Goals of XML Meta language –A toolkit for design markup languages Unambiguous markup –Clear span of tags Separate markup from presentation –Style info => stylesheet, so easy to change Be simple

A Family of Standards Definition: DTD –Names known types of entities with “labels” –Defines part-whole and is-a relationships Markup: XML –“Tags” regions of text with labels Markup: XLink –Defines “hypertext” (and other) link relationships Presentation: XSL –Specifies how each type of entity should be “rendered”

XML Example View “The Song of the Wandering Aengus” – Built from three files –yeats01.xml –poem01.dtd –poem01.xsl

An XML Example The Song of Wandering Aengus W.B. Yeats I went on to the hazel wood, Because a fire was in my head, And cut and peeled a hazel wand,

Document Type Definition (DTD) #PCDATA span of text a,ba followed by b a|beither a or b a*0 or more a’s a+1 or more a’s

Specifying Appearance: XSL

An XLink Example …… <author xlink:href="yeatsRDFS3.xml“ xlink:type="simple">W. B. Yeats The Rose The Tower ……….

Some XML Applications Text Encoding Initiative –For adding annotation to historical manuscripts – Encoded Archival Description –To enhance automated processing of finding aids – Metadata Encoding and Transmission Standard –Bundles descriptive and administrative metadata –

What’s Wrong with the Web? HTML –Confounds structure and appearance (XML) HTTP –Can’t recognize related transactions (Cookies) URL –Links breaks when you move a file (PURL)

Cookies Servers know users by IP address and port –Because that’s where they send the Web pages Cookies preserve “state” –Server sends data to the browser –Browser later responds with the same data A unique code (server-side state) Information about the user (client-side state)

Uniform Resource Names (URN) Persistent URLs ( – PURL Sever My Browser PURL URL Resource Sever URL Page

Summary Learning to build simple Web pages is easy –Which is good news for the homework! All documents are structured documents XML is a flexible markup language toolkits The key is to understand its capabilities –XML editors can hide much of the complexity

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