History of the Internet. The Internet - A Huge Virtual Network. Global Information Infrastructure. Client Server Network Connectivity

Similar documents
Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

What is XHTML? XHTML is the language used to create and organize a web page:

Background of HTML and the Internet

Introduction to HTML5

Developing a Basic Web Page

introduction to XHTML

Objectives. Introduction to HTML. Objectives. Objectives

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

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

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

From administrivia to what really matters

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Announcements. Paper due this Wednesday

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors.

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS

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

HTML Overview. With an emphasis on XHTML

Chapter 10: Understanding the Standards

CMPT 165 Unit 2 Markup Part 2

INTRODUCTION TO WEB USING HTML What is HTML?

c122jan2714.notebook January 27, 2014

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

Title: Sep 12 10:58 AM (1 of 38)

HyperText Markup Language (HTML)

HTML is a mark-up language, in that it specifies the roles the different parts of the document are to play.

CMT111-01/M1: HTML & Dreamweaver. Creating an HTML Document

Web Engineering (Lecture 01)

Introduction to Web Technologies

HTML: The Basics & Block Elements

Module 2 (III): XHTML

Full file at New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13. HTML and CSS

Scripting for Multimedia LECTURE 1: INTRODUCING HTML5

A network is a group of two or more computers that are connected to share resources and information.

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( )

Collection of (1) Meta-network. Uses a standard set of protocols Also uses standards for structuring the information transferred

Understanding the Web Design Environment. Principles of Web Design, Third Edition

Course Overview. Week 1

Hypertext Markup Language, or HTML, is a markup

Anatomy of an HTML document

Web Design and HTML. Web Page vs Web Site. Navigation. Links. A web page is a single page viewable using web browser. A web site is a set of web pages

and the World Wide Web

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

Part 1: HTML Language HyperText Make-up Language

Chapter 7: The Internet

Structured documents

The Structural Layer (Hypertext Markup Language) Webpage Design

5/19/2015. Objectives. JavaScript, Sixth Edition. Introduction to the World Wide Web (cont d.) Introduction to the World Wide Web

Basic Web Pages with XHTML (and a bit of CSS) CSE 190 M (Web Programming), Spring 2008 University of Washington Reading: Chapter 1, sections

MP3 (W7,8,&9): HTML Validation (Debugging) Instruction

Motivation For Networking. Information access Interaction among cooperative application programs Resource sharing

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

XHTML. XHTML stands for EXtensible HyperText Markup Language. XHTML is the next generation of HTML. XHTML is almost identical to HTML 4.

It is possible to create webpages without knowing anything about the HTML source behind the page.

CSC9B1: Essential Skills WWW 1

and the World Wide Web

Fundamentals: Client/Server

Programmazione Web a.a. 2017/2018 HTML5

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

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

HTML Overview formerly a Quick Review

Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1

Web Publishing Basics I

Chapter 4. Introduction to XHTML: Part 1

Creating and Building Websites

Introduction: History of HTML & XHTML

Contents. Topics. 01. WWW 02. WWW Documents 03. Web Service 04. Web Technologies. Management of Technology. C01-1. Documents

Tutorial 1: HTML Tutorial (Windows Version) HTML (Hypertext Markup Language) Basics Objectives

How the Internet Works

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

This document provides a concise, introductory lesson in HTML formatting.

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

XHTML & CSS CASCADING STYLE SHEETS

Introduction to Computer Science Web Development

CS WEB TECHNOLOGY

HTML CS 4640 Programming Languages for Web Applications

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

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

Web Programming Week 2 Semester Byron Fisher 2018

CS144 Notes: Web Standards

Vebra Search Integration Guide

11. HTML5 and Future Web Application

HTML Hyperlinks (Links)

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

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

Chapter 2: Technology Infrastructure: The Internet and the World Wide Web

FOR EVALUATION USE ONLY

ERTH 401 / GEOP 501 Computer Tools. Lecture 12: Websites. Ronni Grapenthin MSEC 356 x5924. November 13, 2017

Markup Language. Made up of elements Elements create a document tree

('cre Learning that works for Utah STRANDS AND STANDARDS WEB DEVELOPMENT 1

INTRODUCTION TO HTML5! HTML5 Page Structure!

Grade 9 :The Internet and HTML Code Unit 1

Web Design and Application Development

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

Beginning Web Site Design

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

Transcription:

History of the Internet It is desired to have a single network Interconnect LANs using WAN Technology Access any computer on a LAN remotely via WAN technology Department of Defense sponsors research ARPA = Advanced Research Projects Agency Systems Survivability utilizing Redundancy Connect all computers on military bases worldwide Research Began 1969, ARPANET operational 1985 Specification made Available to Public Open System=Anyone can build compatible system ARPANET Internetworking Protocol = TCP/ ARPANET extended to civilian use and is now called The Internet Copyright 2016 R.M. Laurie 1 The Internet - A Huge Virtual Network All details of physical networks hidden from users and application programs Copyright 2016 R.M. Laurie 2 Global Information Infrastructure Infrastructure = Basic Service on which society depends Roads, telephones, mail, electricity, Internet Internet is general purpose and efficient Almost any network application can use Supports a wide variety of services TCP/ provides communication facilities HTTP, HTTPS, and FTP provide application facilities Accommodates changes in computers, Client Server Network Connectivity Client contacts server specified by URL =Uniform Resource Locator Client Computers Server Computers HTTP HTTP, TCP, TCP Router Local Area Network The Internet Infrastructure = Internet Protocol Router Router Provides end to end communication TCP = Transmission Control Protocol Provides reliable data transport HTTP = Hyper-Text Transfer Protocol Provides World Wide Web Protocol networks, and services Copyright 2016 R.M. Laurie 3 Copyright 2016 R.M. Laurie 4 Copyright 2016 R.M. Laurie 1

Accessing a Web Site HTTP (Hyper Text Transfer Protocol) locates and accesses web sites files located on the web server Each web site has URL (Uniform Resource Locator) http://www.islandman.org http://www.umuc.edu http://mail.yahoo.com http://maps.google.com ftp://ftp.islandman.org.edu(education).com (commercial).gov(government).mil (military).net(network admin.).org (non-profit) http://www.umuc.edu/cs/courses/index.html Protocol Server Domain TLD Folder Path File Domain Name Server matches URL with address www.umuc.edu 131.171.8.112 ( Octet <= 255) www.whois.ws 69.25.212.161 Copyright 2016 R.M. Laurie 5 The World Wide Web WWW utilizes the Internet to link all computers with Hypertext Documents N.Y. Stock Exchange Wall Street Stock Prices Wall Street New York City Stock Exchange Stock Prices N.Y.S.E. New York City Financial District Financial District Wall Street Copyright 2016 R.M. Laurie 6 HTML HyperText Markup Language HTML is a format description language Web publishing file format Processor Independence Browser Independence Provides layout information for: Text, Images, Animation, Sound Interaction with server forms and programs HTML Element Tags ASCII text based Denoted by enclosing in < > Not case sensitive May use upper or lower case HTML is NOT a programming language Copyright 2016 R.M. Laurie 7 World Wide Web Consortium, or W3C W3C, created a set of standards or that all browsers should follow The W3C has no enforcement power Uniform approach to Web page creation beneficial Older HTML tags are often Deprecated, or phased out, by the W3C Older browsers support older HTML versions, but not newer versions of HTML Latest browser needed for newer HTML support XHTML was the path followed by W3C but halted HTML 5 is still in draft form, but good support in Chrome, FireFox, and Opera browsers HTML 5 is the future but Microsoft IE is slowest to implement Copyright 2016 R.M. Laurie 8 Copyright 2016 R.M. Laurie 2

HTML: Document Elements <html> Beginning of html code <head> Beginning of head <title>my Page</title> Document title </head> End of head closing tag <body> Beginning of body </body> End of body closing tag </html> End of html code closing tag The Structure of an HTML File An HTML document is divided into two main sections: the head and the body The head elementcontains information about the document, for example the document title, character encoding, or the keywords The content of the head elementis not displayed within the Web page The body elementcontains all of the content to appear on the Web page The body elementcontains HTML code that tells the browser how to render the content Copyright 2016 R.M. Laurie 9 Copyright 2016 R.M. Laurie 10 HTML3.2: Simple Document Example White Space and HTML HTML Tag nesting order: Last Open is First Closed 1. <HTML> 2. <HEAD> 3. <TITLE> 4. CMST385 is fun! 5. </TITLE> 6. </HEAD> 7. <BODY> 8. <H3> 9. My first HTML file 10. </H3> 11. </BODY> 12. </HTML> Copyright 2016 R.M. Laurie 11 HTML file documents are composed of text characters and white space White spaceis the blank space, tabs, and line breaks within the file White space makes HTML code more readable Line break text in HTML not displayed in browser Multiple spaces in HTML will only display one space in browser Tabs in HTML will not be displayed in browser <pre> </pre>preformatted element Can be used to display all whitespace in browser Avoid and use HTML structure elements Copyright 2016 R.M. Laurie 12 Copyright 2016 R.M. Laurie 3

The Web Browser Application WWW Format Description Languages A Web Browser is a fault tolerant HTML/XHTML, CSS, and JavaScript interpreter that renders a web page. Input from mouse and keyboard Controller HTTP Client FTP Client TCP/ Network Interface HTML/XHTML CSS JavaScript Flash Java Virtual Machine D r i v e r Output sent to display HTML:(Hyper Text Markup Language) 1990 Interpreted Language by Web Browser Describes both the structure and format of document HTML v3.2 The first standard HTML v4.0 format tags are deprecated (phased out) XHTML: v1.0 Strict 2001 Describes structure using elements HTML5= future/now Describes structureusing elements in html document CSS: v1 1997 Describes formatof elements in xhtml code CSS3: future/now Describes formatof elements in an html Communication with remote server through network Copyright 2016 R.M. Laurie 13 Copyright 2016 R.M. Laurie 14 XHTML Requirements 1. XHTML elements contain start and end tags 2. Elements and attributes must be lower case 3. Attribute values must be enclosed in "double quotes" or 'single quotes' 4. DOCTYPE must be included <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> 5. Html element must include xmlns attribute <html xmlns="http://www.w3.org/1999/xhtml"> 6. Nesting order: Last Opened must be First Closed 7. Empty elementsthat contain only attributes and do not mark up text may end with /> <img /> <hr /> <br /> Copyright 2016 R.M. Laurie 15 XHTML: First Document Example 1. <?xml version = "1.0"> Don't use because IE goes into quirks mode 2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 3. "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> 4. <html xmlns = "http://www.w3.org/1999/xhtml"> 5. <head> 6. <title>welcome to XHTML</title> 7. </head> 8. <body> 9. <p> 10. What are the differences between this and HTML? 11. </p> 12. </body> 13. </html> Copyright 2016 R.M. Laurie 16 Copyright 2016 R.M. Laurie 4

Code Validation World Wide Web Consortium = W3C Standards organization for the web Online validation service at http://validator.w3.org XHTML version 1 comes in four flavors: XHTML1.0 Strict: Deprecated elements, attributes, frames, and link targets are not allowed in XHTML 1.0 Strict. Very similar to XHTML 1.1 XHTML 1.0 Transitional: Includes all elements and attributes of XHTMLStrict and presentational attributes, deprecated elements, and link targets. XHTML 2.0: discontinued a dead end XHTML 5.0: future, improving browser support HTML 5.0: informal standards, improving support Copyright 2016 R.M. Laurie 17 HTML5: Is simpler and less strict 1. <!DOCTYPE html> 2. <html lang="en"> <!-- Language attribute is English --> 3. <head> 4. <meta charset="utf-8"> <! encoding is Unicode --> 5. <title>welcome to HTML5</title> 6. </head> 7. <body> 8. <p> 9. What are the differences between this and XHTML? 10. </p> 11. </body> 12. </html> Copyright 2016 R.M. Laurie 18 X/HTML: Comments X/HTML Comments are considered hidden text Comments are ignored by the web browser rendering engine and display nothing in client area Permits writing notes to those that view xhtmlcode Can be used for debugging by disabling sections of code which may extend across multiple lines. Syntax: <!-- This is a Comment --> Can extend across multiple lines Can not contain "-->"in comment Can not nest comments Copyright 2016 R.M. Laurie 19 X/HTML: Block Elements Paragraph = Normal text <p>this is a paragraph</p> Headings = Bold text <h1>xx-largest</h1> = XX-Large <h2>x-larger</h2> = X-Large <h3>large</h3> = Large <h4>medium</h4> = Medium <h5>small</h5> = Small <h6>x-small</h6> = X-Small Warning: Nesting of block level elements is not permitted! Copyright 2016 R.M. Laurie 20 Copyright 2016 R.M. Laurie 5

X/HTML: Horizontal Rules The Horizontal Rule <hr>element draws a horizontal bar across the web page <hr> is a block level element Typically used to separate document sections Represents element placement not text markup For XHTML, <hr /> is an empty element and the shorter form may be used instead of an end tag For HTML <hr> is also acceptable as no closing tag is required Avoid "sandwich" effect don t overuse Limit to one<hr> element per web page Warning: Nesting of <hr> within heading or paragraph elements is NOT permitted, because it is a block level element Copyright 2016 R.M. Laurie 21 X/HTML: Block Elements Example 1. <!DOCTYPE html> 2. <html lang="en"> 3. <head> 4. <meta charset="utf-8"> 5. <title>x/html Block Level Elements</title> 6. <!-- Head section executes first --> 7. </head> 8. <body> 9. <!-- Body section displayed in browser--> 10. <p> 11. This is a paragraph 12. </p> 13. <h1>this is a XX-Large heading</h1> 14. <hr> 15. <h2>this is a X-Large heading</h2> 16. <h3>this is a Large heading</h3> 17. <h4>this is normal sized text but bold</h4> 18. <h5>small</h5> 19. <h6>x-small</h6> 20. </body> 21. </html> Copyright 2016 R.M. Laurie 22 HTML Page Structure Assignment 1 - Part A: Block Level Elements Write the HTML code to display the following and your interpretation of Freedom with your name. Print the HTML valid code and the browser output. Copyright 2016 R.M. Laurie 23 Copyright 2016 R.M. Laurie 24 Copyright 2016 R.M. Laurie 6