The Information School of the University of Washington Oct university of washington1 Hypertext Markup Language INFO/CSE 100, Fall 2006 Fluency.

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

Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Web Development & Design Foundations with XHTML
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTTP HyperText Transfer Protocol. HTTP Uses TCP as its underlying transport protocol Uses port 80 Stateless protocol (i.e. HTTP Server maintains no information.
The Information School of the University of Washington Oct university of washington1 Networking INFO/CSE 100, Fall 2006 Fluency in Information.
Introduction to HTML CPS470 Software Engineering Fall 1998.
IST 535 Week 1 Class Orientation / Review of Web Basics.
16-Jun-15 HTTP Hypertext Transfer Protocol. 2 HTTP messages HTTP is the language that web clients and web servers use to talk to each other HTTP is largely.
HTTP Hypertext Transfer Protocol. HTTP messages HTTP is the language that web clients and web servers use to talk to each other –HTTP is largely “under.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
1 Static Web Pages Websites on Servers (The Big Picture) –Apache Tomcat can support static web pages –Primarily intended to support servlets and JSP –Some.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
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.
Marking Up With Html: A Hypertext Markup Language Primer
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
CSC 2720 Building Web Applications Servlet – Getting and Setting HTTP Headers.
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
HYPERTEXT MARKUP LANGUAGE (HTML) Vijaya K Pandey.
Creating a Simple Page: HTML Overview
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Creating and Editing a Web Page
Creating a Basic Web Page
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
1 Outline 3.1 Introduction 3.2 Editing HTML 3.3 First HTML Example 3.4 W3C HTML Validation Service 3.5 Headers 3.6 Linking 3.7 Images 3.8 Special Characters.
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
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.
HTML (HyperText Markup Language)
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
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.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
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.
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.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
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.
HTML and XML Behind Web Authoring Tools. 2 Objectives Introduce HTML Learn HTML Step by step Introduce XML.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
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.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
WEB DESIGN AND PROGRAMMING Introduction to XHTML.
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
The Web Wizard’s Guide to HTML Chapter One World Wide Web Basics.
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.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Introduction to Web & HTML
Overview of Servlets and JSP
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
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 is a markup.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
1 Hypertext Markup Language HTML is the language of Web pages © 2004 Lawrence Snyder.
CompSci 1 Lecture 2 HTML Webpages. Today’s Topics Basic HTML The basis for web pages “Almost” programming Upcoming Programming Java Reading Great Ideas.
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.
1 Hypertext Markup Language HTML is the language of Web pages © 2004 Lawrence Snyder.
Computer Basics Introduction CIS 109 Columbia College.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Computer Fundamentals 2
Chapter 4 - Introduction to XHTML: Part 1
Hypertext Markup Language
Introduction to HTML- Basics
Presentation transcript:

The Information School of the University of Washington Oct university of washington1 Hypertext Markup Language INFO/CSE 100, Fall 2006 Fluency in Information Technology

The Information School of the University of Washington Oct university of washington2 Readings and References Reading –Fluency with Information Technology »Chapter 4, Marking up with HTML References –World Wide Web Consortium »"The World Wide Web Consortium (W3C) develops interoperable technologies (specifications, guidelines, software, and tools) to lead the Web to its full potential." » » »

The Information School of the University of Washington Oct university of washington3 Client/Server Interaction For Web pages, the client requests a page the server returns it: there’s no permanent connection, just a short conversation –Details of the conversation are specified by HTTP Client ServerClient Server Client Server request reply

The Information School of the University of Washington Oct university of washington4 Simple HTTP Request GET /pub/WWW/TheProject.html HTTP/1.1 Host: method request protocol host

The Information School of the University of Washington Oct university of washington5 A Typical Browser Request GET /pub/WWW/TheProject.html HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* Accept-Language: en-us Accept-Encoding: gzip, dflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; APC) Host: Connection: Keep-Alive

The Information School of the University of Washington Oct university of washington6 Server Response HTTP/ OK Date: Monday, 23 May :38:34 GMT Server: Apache/ (Unix) (Red-Hat/Linux) Last-Modified: Wed, 08 Jan :11:55 GMT Etag: "3f80f-1b6-3e1cv03b" Accept-Ranges: bytes Content-Length: 438 Connection: close Content-Type: text/html A Sample Page …

Web Pages in HTML

The Information School of the University of Washington Oct university of washington8 Web Page Viewers - All Different Formats

The Information School of the University of Washington Oct university of washington9 HTML Must Be Text Word processors insert formatting tags, confusing browsers »Create source in NotePad, jEdit, etc. »Save in Text or txt format »Save with file extension.html  Avoid Confusion

The Information School of the University of Washington Oct university of washington10 The Source The HTML code producing a page is the source which can always be viewed, either in the browser or in an editor

The Information School of the University of Washington Oct university of washington11 HTML Structure All HTML files use the same basic structure: Name of Page Goes Here Heading content goes here Body content goes here

The Information School of the University of Washington Oct university of washington13 HTML Tags Anatomy of an HTML tag – Types of tags –Normally has an open AND a close element –Some can open and close at the same time –Some tags do not close at all (ex. Comment tag) Sometimes have Attributes –Name-value pairs, values in quotes –Some are required, some optional

The Information School of the University of Washington Oct university of washington14 More HTML Tags Styles Tags – bold, italic, big, small Spacing Tags – paragraph, line break, horizontal rule Heading tags –,, header format List tags – ordered list, list item – unordered (bulleted) list, list item References – anchor reference – image reference Comments – Comments

The Information School of the University of Washington Oct university of washington15 First HTML Web Page This HTML code produces this result

The Information School of the University of Washington Oct university of washington16 Add An Image Images are encoded many ways: –GIF -- Graphics Interchange Format -- is for diagrams and simple drawings –PNG -- Portable Network Graphics - GIF without patent problems –JPEG -- Joint Photographic Experts Group -- is for high resolution photos, complex art Image tags for placing images – tag attribute name attribute value

The Information School of the University of Washington Oct university of washington17 File Locations The path must say how to reach the file –When the file is in the directory as the web page, just give the file name, ski.jpg –If the file is in a subdirectory, say how to navigate to it, pix/ski.jpg –If the file is in a superdirectory, move up using dot-dot notation,../ski.jpg The most common reason that an image is not displayed is the path is wrong … check!

The Information School of the University of Washington Oct university of washington18 Anchors The link starts with an a tag… The value of the href attribute is a URL. The link encloses some text, and ends with… CSE home page

The Information School of the University of Washington Oct university of washington19 Types of URLS ftp://ftp.site.come/pub/ news:soc.culture.religion file:///hardisk/path/file.html

The Information School of the University of Washington Oct university of washington21 Simple HTML What we’ve seen here is very simple HTML HTML is changing –Each document should start with a “ DOCTYPE ” comment telling which version of HTML it follows » »We used HTML 4.01 Transitional –There is a validator service that will check your page » <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "

The Information School of the University of Washington Oct university of washington23 Editing by Hand vs. a Tool WYSIWYG type tools –What you see is what you get Tools for editing web pages: –Microsoft FrontPage - $$$ –Macromedia DreamWeaver - $$$ –Amaya - Free » –And MANY MANY others! Pick the right tool for you!

The Information School of the University of Washington Oct university of washington24 Questions Explain why a page needs to be reloaded in a browser to see the results of editing changes made in the text editor of an HTML document.

The Information School of the University of Washington Oct university of washington25 Questions Why learn HTML at all if authoring tools will do the work for you? Give other examples of where you are expected to learn something when there are tools available that will do the work.

The Information School of the University of Washington Oct university of washington26 Questions Why do we need to end a tag?

The Information School of the University of Washington Oct university of washington27 Questions Why were the characters chosen to denote tags?

The Information School of the University of Washington Oct university of washington28 Questions How does a web browser know where to get an image from to display on a web page?

The Information School of the University of Washington Oct university of washington29 Wrap-up HTML forms the basic structure for web pages –Modern trends are to separate »the structural description of the data »the presentation of the data to the user –process the information according to the content –display the information as appropriate to the user

The Information School of the University of Washington Oct university of washington30 Summary Web pages are written in HTML »The files must be text »The file extension must be.html Tags enclose content like parentheses »Control look with attributes on tags Use a change-and-test process Images have various formats and you must specify the explicit path to the picture