TNPW1 Ing. Jiří Štěpánek.  ordered list  (list item)  unordered list  (list item)

Slides:



Advertisements
Similar presentations
HTML Forms. collect information for passing to server- side processes built up from standard widgets –text-input, radio buttons, check boxes, option lists,
Advertisements

Svetlin Nakov Telerik Corporation
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?
23-Aug-14 HTML/XHTML Forms. 2 What are forms? is just another kind of XHTML/HTML tag Forms are used to create (rather primitive) GUIs on Web pages Usually.
Chapter 6 Basic forms 1. Forms and query string 2 form : a group of user input (UI) controls that accepts information from the user and sends the information.
Technologies for web publishing Ing. Václav Freylich Lecture 4.
Supplement Creating Forms. Objectives Show how forms are used How to create the Form element HTML elements used for creating input fields.
HTML and XHTML Controlling the Display Of Web Content.
Tutorial 6 Working with Web Forms
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.
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
Computing Concepts Advanced HTML: Tables and Forms.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Using Entities & Creating Forms Jill R. Sommer Institute for Applied Linguistics Kent State University.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Table, Forms, Metatags and Frames.
Svetlin Nakov Telerik Corporation
ECA 228 Internet/Intranet Design I Forms. ECA 228 Internet/Intranet Design I Forms forms are a way for a user to communicate with you – text fields –
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.
HTML Web Programming.
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
CSE 382/ETE 334 Internet and Web Technology Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Svetlin Nakov Telerik Corporation
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML Pt. 2.
HTML Hyper Text Markup Language It is used for describing web documents or web pages. A markup language is set of markup tags. HTML documents are described.
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
CSC 2720 Building Web Applications HTML Forms. Introduction  HTML forms are used to collect user input.  The collected input is typically sent to a.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Chapter 2 XHTML: Part II The Web Warrior Guide to Web Design Technologies.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
2.2 XHTML (cont.). Motto Yea, from the table of my memory I’ll wipe away all trivial fond records. —William Shakespeare.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit H Collecting Data with HTML Forms.
HTML Forms.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
XHTML 1.1  Derived from Standard Generalized Markup Language (SGML) of ISO  XHTML concerned primary with content rather than presentation and style 
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.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Creating Web Page Forms. Introducing Web Forms Web forms collect information from users Web forms include different control elements including: –Input.
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
Forms Collecting Data CSS Class 5. Forms Create a form Add text box Add labels Add check boxes and radio buttons Build a drop-down list Group drop-down.
Web Technologies Lecture 3 Web forms. HTML5 forms A component of a webpage that has form controls – Text fields – Buttons – Checkboxes – Range controls.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Website Forms / Data Acquisition.
Week 2: Building a Simple Website IMC 320 Web Publishing Spring 2011.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
HTML Forms.
The top four lines are required if you are coding in XHTML and want to validate. Copy and paste them as the top four lines in the code you are writing.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
1 HTML forms (cont.)
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
HTML Tables Tables are defined with the tag. A table is divided into rows (with the tag), and each row is divided into data cells (with the tag). td stands.
2440: 141 Web Site Administration Web Forms Instructor: Joseph Nattey.
Tutorial 6 Working with Web Forms
Creating and Processing Web Forms
Objectives Design a form Create a form Create text fields
CS3220 Web and Internet Programming HTML Tables and Forms
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
The Web Warrior Guide to Web Design Technologies
Chapter 5 Introduction to XHTML: Part 2
Unit I: Collecting Data with Forms
1 Introduction to XHTML.
CS3220 Web and Internet Programming HTML Tables and Forms
Introduction to HTML.
The Internet 10/27/11 XHTML Forms
Presentation transcript:

TNPW1 Ing. Jiří Štěpánek

 ordered list  (list item)  unordered list  (list item)

XHTML code: Item 1 Item 2 Item 3 In browser: Item 1 Item 2 Item 3

XHTML code: Item 1 Item 2 Item 3 In browse: 1. Item 1 2. Item 2 3. Item 3

 unordered list  It does not matter order of items  i.e. list of requests or properties  ordered list  Items are ordered and numbered by browser  i.e. workflow, result of a competition etc.  Ordered and unordered lists can be nested  Ul or Ol can contain only elements  When nesting -

 Only for representing two-dimensional data  Used to be misused to create whole layout.  Table:  Table caption:  Row: ▪ Cell: ▪ Headed cell:

My table caption Annual revenue Amount Company 1 6,3 mil +11,5%

Company 2 +15,2 mil 16,7% Company 3 4,5 mil -8,5%

Annual revenue Amount Company 1 6,3 mil +11,5% Company 2 15,2 mil +16,7% Company 3 4,5 mil -8,5%

Table head division - Contains set of header rows - Repeats table head in case of printing multi- page table. Head is printed on each page. - Can be used only once in table - Not required but reccomended

Table footer division - The same principle as thead Table body division - Creates table body division - There can be more than one division - can contain only table rows -

 Interactive part of page  Designed for sending data to web application  Provides range of controls  Its possible to have more forms on the page  Its not possible to nest forms  Content of forms controls can be checked by javascript  Submitted form is processed by web application

Form Attributes: action URL address of processing script method method of submitting- GET / POST (GET by default if method not specified) enctype coding of outgoing data (don’t have to be specified if not uploading files) application/x-www-form-urlencoded, multipart/form-data

get  Part of URL  Short forms  Insecure (submitted data shown as a part of URL)  Used exceptionaly post  Separate data transfer  Not part of URL  Can be secured (SSL)  Can transfer large amount of data  Commonly used

Range of forms controls Each form control has unique name within a form Id attribute (if used) is independent on name attribute Control can have some default value Working with form controls in many cases means to use javascript for validation

input (always single element) type type of control (text, password, checkbox, radio, submit, reset, button, image, hidden, file) name unique name of control within a form id identifier – used for style or javascript value default value of control disabled disabling form control – cannot be used

When submitting form, select element sends value of selected Option 1 Option 2 Option 3 Option 4 In XHTML 1.0 Strict must be attributes multiple and selected defined as following: multiple="multiple" selected="selected"

size Number of visible options without clicking multiple More options can be selected optgroup Option group inside select Label - label - Labeling control Name: my_name  Label is part of form control – when clicking label, the linked control is focused

Group of controls – -Visually grouping elements in order to have clear and well arranged form Naming of fieldset - Login

Horizontal rule - Creates horizontal rule (only for visual purposes) Hard space (non/breaking space) - Non-Breaking-Space - Looks like ordinary space - Two words, where is between them are never divided to separate lines (always stays side by side)

  Browser makes line break  Don’t misuse for making distance between elements or make margin etc.  Its not formatting element  Can be used inside paragraph when new line needed