1 COMS 161 Introduction to Computing Title: HTTP and HTML Date: October 13, 2004 Lecture Number: 21.

Slides:



Advertisements
Similar presentations
HTML popo.
Advertisements

HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Introduction to HTML Bent Thomsen Institut for Datalogi Aalborg Universitet.
HTML & XHTML Web Publishing. What is HTML? HTML- Hypertext Markup Language ▫Start with text on your page & add special tags ▫These specific tags produce.
Introduction to HTML CPS470 Software Engineering Fall 1998.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
1 * The World Wide Web * HTML Basics Internet 1: The World Wide Web.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
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.
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.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
HTML Introduction HTML
HTML Companion. Lecture Objectives Learn about HTML. Know basic HTML tags.
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.
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 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.
© 2005 ComputerPREP, Inc. All rights reserved. HTML 4.0 and Web Page Design Module I.
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 
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
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.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
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.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
1 HTML References: A HTML Tutorial: /HTMLPrimer.html
4 HTML Basics 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.
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)
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
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.
1 Introduction to HTML Joshua S. Simon Collective Technologies.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
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.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
Exploring the Digital Domain HTML Basics. HTML Hypertext Markup Language Standard (ASCII) text with embedded format codes Most HTML tags are paired Tags.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.
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.
HTML: Hyptertext Markup Language Doman’s Sections.
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
4 HTML Basics 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.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Introduction to Web & HTML
CHAPTER 1: INTRODUCTION. CONTENTS  Networks  World Wide Web  Hypertext Documents  Web pages - Web site  Web Servers and Web Browsers  HTML: The.
Connecting to the Digital Domain Chapter 4 Exploring the Digital Domain.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
CS 100 Introduction to Web Page Construction and HTML.
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)
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
Computers and Information Systems
Chapter 27 WWW and HTTP.
Introduction to HTML- Basics
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
An Introduction to HTML Pages
Presentation transcript:

1 COMS 161 Introduction to Computing Title: HTTP and HTML Date: October 13, 2004 Lecture Number: 21

2 Announcements Material –Chapter 18 (The Internet) –Chapter 5 (Creating Documents) pp 92 Homework 6 –Due (Friday) 10/15/2004

3 Review Internet Protocols World Wide Web –Client/Server –URL –Web Browser

4 Outline HTML and HTTP

5 URL Example Protocol Domain Name Resource location URL for the book

6 Web Browser (Client) Title bar Menu bar Tool bar

7 Researching on the Web Search service--generates lists of other Web sites containing information about supplied topics Web directory--a search service organized as a topical hierarchy and compiled by (human) editors Search engine--search services whose databases are compiled by automated Web crawlers

8 Keyword Searching A form of (automated) text matching Keyword--a word or phrase used as a text pattern for matching Hits--matches with text patterns Misses--fails to match some or all of the text pattern False positives--hits that are not related to the desired topic

9 Boolean Expressions Search engines interpret multiple keywords as Boolean expressions AND--intersection, i.e., references that contain both keywords

10 Boolean Expressions OR--union, i.e., references that contain either keyword

11 Boolean Expressions NOT--negation, i.e., references that do not contain the keyword

12 Mathematical Operators Boolean ExpressionMathematical Operator Labrador AND retrievers+Labrador +retrievers Labrador AND NOT retrievers +Labrador -retrievers Mathematical operators may be used to signify Boolean expressions

13 Hybrid Search Services Metasearch engines--consult other search engines and directories and summarize query data Niche services--commercial services targeted at a specific audience or topic Portals--gateway Web site with searching capabilities

14 Web Browsers and Servers Web browsers are clients –Request, receive, and display Web documents Web sites are servers –Store Web information –Process browser requests –Send information back to the browser The protocol used is called “HTTP” –Hypertext Transfer Protocol –Method by which browsers and servers communicate

15 Web Publishing HTTP defines how browsers and servers communicate “HTML” is the language they use –Hypertext Markup Language –HTML signifies both content (elements) and structure (presentation) –Content and structure are specified separately

16 Web Publishing HTML -- Hypertext Markup Language –Hypertext Links to variety of information, local or remote –Markup Originally from print publishing: handwritten marks on text to indicate presentation instructions to the typesetter –Text size, bold or italic, headlines vs. body text, column layout, etc. –Language Standardized set of instructions for a computer

17 Web Publishing HTML is designed to be: –Platform independent Any computer, any browser –Resolution independent Any screen or printer size –Multimedia Text, images, video, sound, interactive tools, etc. –Hyperlinked Immediate links to other content, local or remote

18 HTML Plain text with markup tags –Plain text: standard (ASCII) characters –Markup tags: embedded commands (still in plain text) identifying content and structure

19 HTML Tags Not case-sensitive Textbook uses UPPER case; lower is now more common Many tags are “paired tags” Example: This is some sample HTML. Appears as : Tags

20 Basic Document Structure (Signifies an HTML document) (Descriptions of the document go here) (Page content goes here)

21 Setting a Page Title Titles help give the user a frame of reference Titles appear in taskbar and browser’s title bar Example: Hampden-Sydney College, Virginia Appears as:

22 Text in HTML Simple text is in enclosed in paragraph tags Automatically wraps to fit Example: The rain in Spain stays mainly on the plain. Appears as: The rain in Spain stays mainly on the plain.

23 Text in HTML Break tags help to format lines Example: Audrey Hepburn played Eliza Doolittle in the movie version of "My Fair Lady“ even though that role was played by Julie Andrews on stage. Appears as: Audrey Hepburn played Eliza Doolittle in the movie version of "My Fair Lady" even though that role was played by Julie Andrews on stage.

24 Text in HTML Font face, color, style, etc. may be specified Example: Roses are red, violets are blue… Appears as: Roses are red, violets are blue…

25 Text in HTML Some other kinds of text formatting: –Italics This is italic text. This is italic text. –Bold This text is bold. This text is bold. –Underline And this is underlined. And this is underlined. –Superscript Here is a super script. Here is a super script. –Subscript And, here’s a sub script. And, here’s a sub script.

26 Text in HTML Font sizes –Absolute font size: a number between 1 and 7 –Example: A B C Appears as: A B C –Relative font size: use a number like –n or +n (where n is some digit) –Example: X Y Z Appears as: X Y Z –“basefont” size is 3

27 Headings in HTML Headings of different weights are used to introduce sections Example: My Autobiography Part 1: My Early Years Chapter 1: I Am Born It was a dark and stormy night… Appears as: My Autobiography Part 1: My Early Years Chapter 1: I Am Born It was a dark and stormy night …

28 Comments Comments may be added to an HTML file –Information for someone reading the HTML file –Comments do not appear in the browser Example: My Autobiography Part 1: My Early Years Chapter 1: I Am Born It was a dark and stormy night… Appears as: My Autobiography Part 1: My Early Years Chapter 1: I Am Born It was a dark and stormy night …

29 Lists in HTML Three kinds of lists: –Ordered lists (automatically numbered) –Unordered lists (bullet points) –Definition lists (terms and definitions)

30 Ordered Lists Automatically numbered Example: Outline: Introduction Body Conclusions Appendices Appears as: Outline: 1.Introduction 2.Body 3.Conclusions 4.Appendices Is “list item” ( ) a paired or an unpaired tag?

31 Unordered Lists Bullet points Example: HTML has three types of lists: Ordered Unordered Definition Appears as: HTML has three types of lists: Ordered Unordered Definition Exactly the same syntax as ordered lists, except “ ” instead of “ ”

32 Definition Lists Terms and definitions Example: Glossary: HTTP A protocol: the mechanism that computers use to exchange web documents. HTML A language: the terms and symbols used in web documents to define the content and layout of a web page. Appears as: Glossary: HTTP A protocol: the mechanism that computers use to exchange web documents. HTML A language: the terms and symbols used in web documents to define the content and layout of a web page.

33 Inline Graphics Images may be placed on the page along with text and other elements Only standard image formats:. gif,.jpg, a few others Example: Audrey Hepburn played "Eliza Doolittle" in My Fair Lady. Appears as: Audrey Hepburn played "Eliza Doolittle" in My Fair Lady.

34 Hyperlinks The key to the Web Cross references to other elements: pages, images, multimedia, etc. Clicking on a hyperlink causes an automatic request for the linked element Example: Web site for the textbook Exploring the Digital Domain. Appears as: Web siteWeb site for the textbook Exploring the Digital Domain.

35 Web Publishing Tools Text editors (e.g. Notepad) –Create and edit plain text files with HTML tags Tag editors (e.g. Dreamweaver’s “code view”) –Tools that make it easier to place tags in text files HTML generators (e.g. Dreamweaver’s “design view”) –Tools that automatically create HTML codes much like a word processor Site Managers (e.g. Dreamweaver’s “Site” menu) –Help organize and keep track of all files that make up a site HTML files, images, databases, programs, etc. –Assist with keeping files on the server in synch with local files

36 Censorship Why would someone want to censor the Web? Is censorship right? Who decides? How, technically, would one actually control Web content? –Blocking software –PICS ratings –Communications Decency Act (1996–1999) –Other ideas? How does this relate to Spam filters?