Computing Concepts Advanced HTML: Tables and Forms.

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

HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
1 Introduction to HTML II อุทัย เซี่ยงเจ็น สำนักวิชาเทคโนโลยีสารสนเทศ และการสื่อสาร มหาวิทยาลัยนเรศวร พะเยา.
Images, Tables, lists, blocks, layout, forms, iframes
CIS101 Introduction to Computing Week 08. Agenda Your questions JavaScript text Resume project HTML Project Six This week online Next class.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
MR.Mohammed Sharaf al Shareef
HTML Computing Concepts HTML - An Introduction 1.
CIS101 Introduction to Computing Week 07. Agenda Your questions Resume project Review Project Two HTML Project Three This week online Next class.
Tutorial 6 Working with Web Forms
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
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.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
Chapter 5 Working with Tables. Agenda Add a Table Assign a Table Border Adjust Cell Padding and Spacing Adjust Cell Width and Height Add Column Labels.
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.
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.
HTML Forms What is a form.
CO1552 Web Application Development HTML Forms. Websites can be made more interactive by providing facilities for users to provide data To get user entered.
HTML Overview Part 2 – Paragraphs, Headings, and Lines 1.
HTML. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language.
DAT602 Database Application Development Lecture 14 HTML.
Svetlin Nakov Telerik Corporation
1 HTML and CGI Scripting CSC8304 – Computing Environments for Bioinformatics - Lecture 10.
Tutorial 5 Working with Web Tables. XP Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
HTML II. Factors to consider in designing a website. Organizing your files. HTML Tables. Unordered Lists. Ordered Lists. HTML Forms. Learning Objectives.
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.
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.
1 HTML محمد احمدی نیا 2 Of 43 What is HTML?  HTML stands for Hyper Text Markup Language  HTML is not a programming language, it.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Tutorial 5 Working with Tables and Columns
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Tutorial 5 Working with Tables and Columns
IS1824: Introduction to Internet Multimedia Lecture 5: Layout in HTML Rob Gleasure
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.
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 
HTML : Forms, Frames Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
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.
Tutorial 5 Working with Web Tables. XP Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple.
Lecture 6 More Advanced HTML Boriana Koleva Room: C54
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
HTML Forms. A form is simply an area that can contain form fields. Form fields are objects that allow the visitor to enter information - for example text.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
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.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
Positioning Objects with CSS and Tables
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Learning Aim C.  In this section we will look at how text, tables, forms and frames can be used in web pages.
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.
Web Forms. Web Forms: A form allows our web visitors to submit information to us. Some examples uses for forms are to let the web user contact us, fill.
HTML for web designing short course. What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file must have an htm or html file extension.
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.
Tutorial 5 Working with Web Tables. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of.
1 Mansoor Ahmed Bughio. 2 HTML TABLES With HTML you can create tables. Examples Tables This example demonstrates how to create tables in an HTML document.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
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.
HTML Tables. 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).
Objectives Design a form Create a form Create text fields
Positioning Objects with CSS and Tables
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
Chapter 5 Introduction to XHTML: Part 2
Unit I: Collecting Data with Forms
Positioning Objects with CSS and Tables
Presentation transcript:

Computing Concepts Advanced HTML: Tables and Forms

2 Contents  Tables  Forms

3 Why use Tables?  For tabular data Price list  For layout Used extensively for layout, not covered today

The Basic Table

5 Basic tables  Rows and cells  Borders  Headings  Alignment  Captions  Percentage widths  There is more to cover – not this year

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)  The letters td stands for "table data," which is the content of a data cell  A data cell can contain text, images, lists, paragraphs, forms, horizontal rules, tables, etc.

7 Tables row 1, cell 1 row 1, cell 2 row 2, cell 1 row 2, cell 2

8 Example

9 Table borders  If you do not specify a border attribute the table will be displayed without any borders  Sometimes useful, but most of the time, you want the borders to show, at least during design.  Table with a one pixel border  Table with a fat border  Table with no border

10 Table Headings  Headings in a table are defined with the tag. Heading Another Heading row 1, cell 1 row 1, cell 2 Centred and bold

11 Alignment Within Tables My Grades January February Computing Concepts A How many rows? How many columns?

12 Table Captions Years Level C Level I Level H

13 Empty Cells  Borders around empty table cells are missing  To avoid this, add a non-breaking space ( ) to empty data cells, to make the borders visible: A B C Empty cell filled with a non breaking space

14 Percentage widths A B C D What will this look like in a browser?

15 Table Review 1  Creates a table  Creates a row  Creates a cell  Creates a header, centred and bold  Creates a caption

16 Table Review 2  Attributes width align border  There are more but not just yet

17 Draw this My Grades January February Computing Concepts A

18 Answer

19 Add Another Row My Grades January February Computing Concepts A Write the code to add another row to this table

20 Another Row My Grades January February Computing Concepts A PDP Pass Missed my tutor, Failed Tip: Copy and Paste a row and change the content

Forms

 A method of interaction between the user and a web site  HTML tags are used to build the interface and controls  CGI or Javascript technologies are used to process the form information

Forms  A form is an area that can contain form elements  Form elements are elements that allow the user to enter information (like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.) in a form  A form is defined with the tag input elements

Form Structure  A form is made up of four separate elements:  Labels  Boxes for entering text  Option blocks check boxes radio buttons menus  Buttons

Form Elements  Text fields Text fields are used when you want the user to type letters, numbers, etc. in a form  Radio Buttons Radio Buttons are used when you want the user to select one of a limited number of choices  Check Boxes Checkboxes are used when you want the user to select one or more options of a limited number of choices.

Processing the Form  A form is a means of collecting information  The information needs to be processed  A form uses the Action attribute to point to a script or program that will process the information  The Method attribute works in conjunction with the Action attribute to specify how information is sent to the server

Action Attribute & the Submit Button  When the user clicks on the "Submit" button, the content of the form is sent to the server.  The form's action attribute defines the name of the file to send the content to.  The file defined in the action attribute usually does something with the received input.

Form Example First name: Last name:

29 What next? Cascading Style Sheets HTML assignment, at least 4 linked pages A list 2 images Table Colour and formatting Links Comments To get a higher mark you have to research beyond the course handouts and can demonstrate a wider knowledge of the use of HTML and demonstrate its effective use in our web pages

30 Further Reading  Tutorial – highly recommended  Reference  Beginners book Mac Bride, Teach Yourself HTML Publishing on the World Wide Web (Teach Yourself) January 2003;Hodder Arnold Teach Yourself; ISBN: ,

31 Questions?