1 HTML References: A HTML Tutorial: /HTMLPrimer.html

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Video, audio, embed, iframe, HTML Form
Creating Web Page Forms. Objectives Describe how Web forms can interact with a server-based program Insert a form into a Web page Create and format a.
Forms Review. 2 Using Forms tag  Contains the form elements on a web page  Container tag tag  Configures a variety of form elements including text.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
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.
IST 221 Internet Concepts and Applications Internet, WWW and HTML 1.
USER INTERACTIONS: FORMS
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Table, Forms, Metatags and Frames.
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.
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Chapter 10 Form Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
4-Sep-15 HTML Forms Mrs. Goins Web Design Class. Parts of a Web Form A Form is an area that can contain Form Control/Elements. Each piece of information.
XP Tutorial 6New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Creating Web Page Forms Designing a Product Registration Form Tutorial.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 Forms A form is the usual way that information is gotten from a browser to a server –HTML has tags to create a collection of objects that implement this.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
Chapter 16 The World Wide Web Chapter Goals ( ) Compare and contrast the Internet and the World Wide Web Describe general Web processing.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
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.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
HTML II. Factors to consider in designing a website. Organizing your files. HTML Tables. Unordered Lists. Ordered Lists. HTML Forms. Learning Objectives.
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.
XHTML Introductory1 Linking and Publishing Basic Web Pages Chapter 3.
Robinson_CIS_285_2005 HTML FORMS CIS 285 Winter_2005 Instructor: Mary Robinson.
Hypertext Markup Language HTML Hypertext is vaguely defined as interconnecting pieces of information in a non-sequential but usually relational, manner.
CSC 2720 Building Web Applications HTML Forms. Introduction  HTML forms are used to collect user input.  The collected input is typically sent to a.
1 HTML – HyperText Markup Language Representation and Management of Data on the Internet.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
HTML Forms.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Week 9 - Form Basics Key Concepts 1. 1.Describe common uses of forms on web pages 2.Create forms on web pages using the form, input, textarea, and select.
ITCS373: Internet Technology Lecture 5: More HTML.
XHTML & Forms. PHP and the WWW PHP and HTML forms – Forms are the main way users can interact with your PHP scrip Typical usage of the form tag in HTML.
Creating Web Page Forms. Introducing Web Forms Web forms collect information from users Web forms include different control elements including: –Input.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
1 Review of Form Elements. 2 The tag Used in between tags.  Form elements(text control, buttons, etc.. ) goes here. OR  Form elements(text control,
HTML Forms a form is a container for input elements on a web page input elements contain data that is sent to the web server for processing.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
+ FORMS HTML forms are used to pass data to a server. begins and ends a form Forms are made up of input elements Every input element has a name and value.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Website design and structure. A Website is a collection of webpages that are linked together. Webpages contain text, graphics, sound and video clips.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Week 10: HTML Forms HNDIT11062 – Web Development.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
1 HTML: HyperText Markup Language Representation and Management of Data on the Internet.
HTML III (Forms) Robin Burke ECT 270. Outline Where we are in this class Web applications HTML Forms Break Forms lab.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
XP Tutorial 6New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
Distributed Control and Measurement via the Internet
How to Write Web Forms By Mimi Opkins.
E-commerce | WWW World Wide Web - Concepts
E-commerce | WWW World Wide Web - Concepts
Web Programming– UFCFB Lecture 10
Designing Forms Lesson 10.
Chapter 27 WWW and HTTP.
Web Development & Design Foundations with H T M L 5
FORM OBJECT When creating an interactive web site for the Internet it is necessary to capture user input and process this input. Based on the result of.
Web Development & Design Foundations with H T M L 5
Chapter 16 The World Wide Web.
Presentation transcript:

1 HTML References: A HTML Tutorial: /HTMLPrimer.html /HTMLPrimer.html

2 Web Publishing Primary Concept: –Hypertext navigation system. Web –is cross-platform. –is distributed. –is dynamic. –is interactive.

3 Web Publishing Browser: software to look at web pages (Netscape Navigator) Server: software that provides service The client (Web browser) on your machine sends a request to a server. The server sends the file requested by the browser. The file contains data and formatting information The browser displays the file on the screen. Data is transferred between the browser and the server in http (hypertext transfer protocol).

4 World Wide Web The World Wide Web (Web) is a network of information resources. The Web uses three mechanisms to make these resources available to a wide audience: 1.A uniform naming scheme for locating resources on the Web (e.g., URIs). 2.Protocols for access to named resources over the Web (e.g., HTTP). 3.Hypertext, for easy navigation among resources (e.g., HTML).

5 Uniform Resource Identifiers (URI): Every resource available on the Web (HTML document, image, video clip, program, etc) has an address that is encoded by a URI. A URI consists of three pieces of information: –The protocol name used to access the resource –The name of the host machine –The resource name –Format: protocol://host:port/filepath#ref. –Example: –A relative URI does not contain any information about the protocol and the host, but refers to a resource on the same machine as the current document. –Example: Relative URI s are resolved to full base URIs. Assume that the link is in a document with the URI: then the absolute URI of hints.html is

6 The Web Your machine The Internet Web browser Page Location Web server

7 HTML HTML stands for HyperText Markup Language. Describes the structure of the page, not its actual appearence when viewed on the screen. Insert embedded commands or tags into text files to indicate the structure and formatting of the elements on the page and hypertext links to other pages or to included media.

8 Logical Styles – Physical Styles –... Boldface –... Italics –... Underline Definition list/glossary: – – First term to be defined – Definition of first term – Next term to be defined – Next definition –

9 Present an unordered list: – – First item in the list – Next item in the list – Present an ordered list: – – First item in the list – Next item in the list – New England states: Vermont New Hampshire Maine Two Midwestern states: Michigan Indiana

10 Links and Anchors LINK TEXT AND/OR IMAGE TO ANOTHER DOCUMENT Some Attributes used in the tag: HREF, NAME HREF: URL of a resource on the web – an HTML file, image or sound file etc Example: Santa Clara University

11 Links and Anchors The structure of a Uniform Resource Locator (URL) may be expressed as: resource_type:additional_information where the possible resource types include: file, http, news, gopher, telnet, ftp, and wais, among others, and each resource type relates to a specific server type Send a search string to a server. Different servers may interpret the search string differently. In the case of word-oriented search engines, multiple search words might be specified by separating individual words with a plus sign (+).

12 NAME: Using the name tag, you can mark specific points in a document as points that can be reached directly. Define a target location in a document Chapter 4 - Links and Anchors

13 Referring to the anchor Link to a location in the same document A HREF="#Chapter4">Links and Anchors

14 Images Images are places in an HTML page using tag. Images can be placed anywhere in the document – with in paragraphs, list items etc. Images for Web pages can be inline images and external images. Inline images appear directly on a Web page among the text and links. They are loaded automatically when you load the page.

15 Images Example: Images The Sights and Sounds Of Yosemite Ribbon Falls Height: 1612 ft</P

16 External images are stored separately from the web page and linked from the page in much the same way that other HTML pages are. A common practice is to provide a small image (“thumbnail inline on the page itself and link the image to its larger external counterpart. –Keeps the size of the web page small so that it can be downloaded quickly. –The readers can choose to download the larger image if they want a better view.

17 Example: f><IMG SRC=

18 Forms Forms enable two-way flow of info –Creating the layout of the form –Writing a script program on the server side to process the input from the form. Data can be gathered by a CGI script and saved form text form text form text

19 Forms- Input Elements The most commonly used form tag is INPUT and it can be used with a number of attributes. There are several types of INPUT elements. single line input (text, checkbox,radio,etc) multi line input (text) drop-down menus

20 Forms- Input Elements form>... : Define a form : an input box Attributes (type, name, value, checked, size, maxlength): type="variable_type" Specifies the data type for the variable type="text" fields accept character data (default) type="password" fields accept character data type="checkbox" fields are either selected or not type="radio" fields of same name allow selection of only one of the associated values type="submit" defines an action button that sends completed form to the query server type="reset" defines a button that resets the form variables to their default values type="hidden" defines invisible input field, value sent along with the other form values. (pass internal-state values)

21 Forms Attributes: name="textstring" where textstring is a symbolic name (not displayed) identifying input variable as in: value="textstring”meaning of textstring depends on type. If type="text" or type="password", textstring is default value for input variable. If type="checkbox" or type="radio", textstring is value sent to server if checkbox "checked". If type="reset" or type="submit”, textstring is button label (in place of words "submit" and "reset”).

22 Forms checked No arguments. For type="checkbox" or type="radio", if checked is present the input field is "checked"by default. size="display_width" where display_width is an integer value representing the number of characters displayed for type="text" or type="password". maxlength="string_length" where string_length is the maximum number of characters allowed within type="text" or type="password" variable values. This attribute is only valid for single line "text" or "password" fields.

23 Forms... Apples Bananas Cherries... default text Defines a rectangular field where the user may enter text data name="textstring" rows="num_rows" cols="numcols"