Introduction to Web-Based Systems HTML, XML, and JavaScript.

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.
HTML. The World Wide Web Protocols Addresses HTML.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
OMT II Mam Saima Gul. * Static web page * a web page with contents that remain fixed and unchanged once it has been created by the author Web server Client.
Introduction to HTML Bent Thomsen Institut for Datalogi Aalborg Universitet.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
Introduction to HTML CPS470 Software Engineering Fall 1998.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
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.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
Chapter 1 Understanding the Web Design Environment
In the fallowing 4 weeks we will concentrate on the programming of the Dynamic Web. HTML is the publishing language for the World Wide Web. Combined with.
Developing a Basic Web Page with HTML
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
Images and Tables. Displaying Image Attributes: SRC= " mypic.gif " – Name of the picture file SRC= " pic/mygif.jpg " – Name of file found in pic directory.
CS105 Introduction to Computer Concepts HTML
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Unit 4 Lesson 3 HTML Power Techniques Textbook Authors: Knowlton, Barksdale, Turner, & Collings PowerPoint Lecture by Mr. Clausen.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
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.
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
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.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
HTML Overview Part 4 – Tables 1. HTML Tables  Tables are defined with the tag pair.  A table is divided into rows with tag pairs. o tr stands for "table.
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
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.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML and Web Pages. HTML?  HTML is not a programming language  A type of SGML (standard generalized markup language)  HTML uses paired tags to markup.
HTML: Hyptertext Markup Language Doman’s Sections.
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
XHTML1-1 Extensible HyperText Markup Language (XHTML) Part 2 Xingquan (Hill) Zhu
HTML: Tables & Frames Internet Technology.
ECA 228 Internet/Intranet Design I Intro to Markup.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
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 Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
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…..
HTML(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Basic HTML. So, what exactly is HTML? HTML stands for: HTML stands for: Hypertext Markup Language. It is a purpose built markup language for the delivery.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Building a Web Page. Create A New Folder  Right click on the desktop and select New / Folder  Name the folder playpen.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
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.
HTML Hyper Text Markup Language. The Basics u HTML documents contain “tags” which instruct the Browser software on how to present the information within.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
HTML Hyper Text Markup Language. Agenda Basics Tools Important tags Tables & databases Forms Publishing at Stern.
Building a Web Page. A Brief History In 1989, Tim Berners-Lee invented the Web. To enable particle physics from around the world to organize and share.
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING. INTRODUCTION TO HTML With HTML you can create your own Web site. HTML stands for Hyper Text Markup Language.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
Marking Up with XHTML Tags describe how a web page should look
Introduction to XHTML.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

Introduction to Web-Based Systems HTML, XML, and JavaScript

2 © UW Business School, University of Washington 2004 Outline Client/Server Systems HTML XML JavaScript

3 © UW Business School, University of Washington 2004 Client/Server Model Based on the distribution of the three components, N-tier client/server models have been developed Presentation Logic Business Logic DBMS

4 © UW Business School, University of Washington 2004 Two-Tier Client/Server Architecture

5 © UW Business School, University of Washington 2004 Three-Tier Client/Server Architecture Application Server NT/Unix Presentation PC/Workstation Database Server

6 © UW Business School, University of Washington 2004 Client-Server Characteristics Strong emphasis on bringing user- friendliness –Familiar applications and interface to the user Applications are distributed –Different software component on different machines Data are usually centralized –Usually on a relational database platform

7 © UW Business School, University of Washington 2004 Client-Server Challenges Advantages –Scalability –Flexibility –User interface Challenges –Heterogeneous system components Many platforms, versions Quality: difficult to predict –Vendor independence Any choice will limit future options

8 © UW Business School, University of Washington 2004 Web-Based System Architecture SOURCE: INTERSHOP

9 © UW Business School, University of Washington 2004 Traditional vs. Web-based Clint/Server Model User interface –Traditional: platform dependent –Web-based: universal Server –Traditional: server has to communicate with different programs on different platforms –Web-based: only need to generate HTML files

10 © UW Business School, University of Washington 2004 Edit Your HTML File PC –using Notepad –If you have ProntPage, use HTML editor UNIX –Use Pico or vi

11 © UW Business School, University of Washington 2004 HTML A type of SGML (standard generalized markup language) HTML uses paired tags to markup different elements of a page Tags are not case sensitive

12 © UW Business School, University of Washington 2004 A Simple HTML File A Simple HTML Example HTML is Easy To Learn Welcome to the world of HTML. This is the first paragraph. And this is the second paragraph.

13 © UW Business School, University of Washington 2004 Paragraphs in HTML  Carriage return in an HTML file is not interpreted –Use to change line –Use to start a new paragraph  Any number of white-spaces are compressed into a single one

14 © UW Business School, University of Washington 2004 Lists Unnumbered Lists: apples bananas grapefruit Numbered Lists: oranges peaches grapes

15 © UW Business School, University of Washington 2004 Inline Image Syntax: Attributes: SRC="image_url" ALIGN="bottom", "middle", "top" –ALIGN tells the browser how to align the image with the neighboring text. HEIGHT="n", WIDTH="n" –HEIGHT and WIDTH specify the display height and width (in pixels) for the image.

16 © UW Business School, University of Washington 2004 Hyperlinks  The most important capability of HTML  Both text and image can serve as anchors for the link University of Washington

17 © UW Business School, University of Washington 2004 Control the Font Text resize the text text define the font size define the fond face browser will try arial first, then elvetica of arial is not present Bold Italic center line break

18 © UW Business School, University of Washington 2004 Table Basic tags defines a table in HTML the title of the table a row within a table a table header cell a table data cell with the text aligned left and centered vertically Attributes BORDER - appearing in the TABLE tag ALIGN - can appear in CAPTION, TR, TH, or TD - values: left, center, and right, e.g. align=center. VALIGN - can appear inside a TR, TH, or TD - values: top, middle, bottom. WIDTH=

19 © UW Business School, University of Washington 2004 A Table Template Table Name first header cell contents last header cell contents first row, first cell contents first row, last cell contents last row, first cell contents last row, last cell contents

20 © UW Business School, University of Washington 2004 XML eXtensible Markup Language Derived from SGML – Standard Generalized Markup Language HTML is also a special SGML

21 © UW Business School, University of Washington 2004 What’s Wrong with HTML Presentation-oriented publishing Lack of structure HTML does not allow you to define your own tags Functions of XML –Enable structured data interchange –Distributed processing

22 © UW Business School, University of Washington 2004 An Example XML Sean McGrath XML, Internet

23 © UW Business School, University of Washington 2004 JavaScript Scripting language JavaScript has nothing to do with Java. JavaScript runs on the web browser - client- side.

24 © UW Business School, University of Washington 2004 JavaScript: What It Can and Cannot Do Control document appearance and content –Generate documents from scratch Control the browser –Window object has methods to pop up dialog boxes & get inputs –Create & open new windows –Control over which Web pages are displayed Interact with document content –Form verification

25 © UW Business School, University of Washington 2004 Objects JavaScript is object-oriented Two basic objects –window: browser windows –document: HTML documents Objects have properties –object_name.property_name – e.g. image.width, image.height Methods Even handlers

26 © UW Business School, University of Washington 2004 JavaScript Example 1 Example 4 document.write("Hello World!")

27 © UW Business School, University of Washington 2004 JavaScript Example 2: Open a New Window Example 5 function new_window() { win2 = window.open("ex1.html", "", "resizable=yes,height=60,width=60"); } Open a new window.

28 © UW Business School, University of Washington 2004 JavaScript Example 3: Alert Window Example 6 function sayHi() { win2 = window.alert("Hi there"); } An alert window will show up when you load this page.

29 © UW Business School, University of Washington 2004 Additional Resources for JavaScript