XHTML 1.1  Derived from Standard Generalized Markup Language (SGML) of ISO  XHTML concerned primary with content rather than presentation and style 

Slides:



Advertisements
Similar presentations
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Advertisements

HTML/XML XHTML Authoring. Creating Tables  Table: An arrangement of horizontal rows and vertical columns. The intersection of a row and a column is called.
HTML and XHTML Controlling the Display Of Web Content.
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
HTML and XHTML Controlling the Display Of Web Content.
© 2004, Robert K. Moniot Chapters 4 & 5 Introduction to HTML, More Details.
Markup Languages Controlling the Display Of Web Content.
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
Unit 2, cont. September 14 HTML,Validating your pages, Publishing your site.
Computing Concepts Advanced HTML: Tables and Forms.
XHTML and CSS Overview. Hypertext Markup Language A set of markup tags and associated syntax rules Unlike a programming language, you cannot describe.
Database-Driven Web Sites, Second Edition1 Chapter 2 INTRODUCTION TO HTML.
Creating Web Page Forms
Softsmith Infotech HTML. Softsmith Infotech HTML Introduction Creation Tags Text List Image Background Link Table Frames Forms.
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
XHTML1 Tables N100 Creating a Simple Web Page. XHTML2 Creating Basic Tables Tables are collections of rows and columns that you use to organize and display.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
XHTML for Content Structure Chapter 3. Overview and Objectives Discuss briefly the history of, and relationship between, HTML and XHTML Stress the importance.
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.
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.
COM621 – Interactive Web Development Lecture 1 - XHTML.
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.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
CS134 Web Design & Development Creating a Basic Web Page Exerted from Mehmud Abliz slides.
4410/5410 – Web Technologies Class Introduction Extensible HyperText Markup Language –XHTML –A markup language –Separation of the presentation of a document.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 2.
CP476 Internet Computing Lecture 7 HTML 1 What is HTML? HyperText Markup Language (HTML) is an application of Standard Generalized Markup Language (SGML)
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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,
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
Chapter 2 XHTML: Part II The Web Warrior Guide to Web Design Technologies.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
XHTML1-1 Extensible HyperText Markup Language (XHTML) Part 2 Xingquan (Hill) Zhu
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 2.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
HTML Forms A Preliminary Step into Dynamic Web Fred Durao
TJ 3043 – Web Application Development HTML Form. 2.0 Forms A form is the usual way to communicate information from a Web browser to a server HTML has.
CP102 Module 7: HTML 1 Module 7: HTML 1.What is 1.What is HTML? 2. 2.Basic syntax, document structure 3. 3.Basic formatting, images, links 4. 4.Lists,
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
TJ 3043 – Web Application Development HTML Form. 2.0 Forms - A form is the usual way information is gotten from a browser to a server - HTML has tags.
Lecture 6 More Advanced HTML Boriana Koleva Room: C54
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 2.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
HTML Forms.
HTML Assoc. Prof. Rozinah Jamaludin 28 January 2010.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
CS3101 Internet Programming. Chapter 01 Introduction to XHTML 2Internet Programming - Chapter 01:XHTML Slides based on: Programming the World Wide Web.
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
INT222 – Internet Fundamentals
1 R3 R1 R5 R4 R6 R2 B B A A Looking at the Code Under the View menu Select Source.
Tutorial 5 Working with Web Tables. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of.
COM621: Advanced Interactive Web Development Lecture 1 – XHTML.
 Derived from SGML  Original intent: General layout of documents that could be displayed by a wide variety of computers  HTML standards by W3C: › The.
CIS 228 The Internet 9/20/11 XHTML 1.0.
Working with Tables: Module A: Table Basics
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
1 Introduction to XHTML.
The Internet 10/27/11 XHTML Forms
Presentation transcript:

XHTML 1.1  Derived from Standard Generalized Markup Language (SGML) of ISO  XHTML concerned primary with content rather than presentation and style  Evolution of the statandards for XHTML is controlled by World Wide Web Consortium W3C  Style sheets (CSS) were developed to give precise specification of presentation

XHTML Document Structure  Every document must begin with an xml declaration  The SGML DOCTYPE command must follow <!DOCTYPE html PUBLIC “-//w3c//DTD XHTML 1.1//EN” “

XHTML Tags  Tags are the syntactical units of HTML Used to specify categories of content provides formatting: layout and presentation details Browser has default presentation for content Syntax:  with closing:  Tag's name must be all lower case Content of a tag appears between the tag and its closing A tag and its closing tag specify a container An element: a container and its content.

XHTML Required Tags  Every document must include four tags:  -- root element of document  Attribute xmlns (XHML name space)  -- provides inf about document not its content  Can include meta element   -- provides content of document

XHTML Tags  Tags are inline or block  Inline: content appears on the current line  Block: content appears on new line  Tags must be nested properly: strictly enforced  A block tag can NEVER be nested directly in an inline tag  Inline tags and text cannot be nested directly in a body or form elements

XHTML Hypertext  Anchor tag: is an inline tag.  Provides link pointing to document:  Filename  Directory path & filename  URL  Specific place in document – which must be marked  Items for sale  Sale items

XHTML Basic Tags ... Paragraph tag  Line break ... Headings, can be up to 9 ... Block quote ,,,,,, Font style and sizes  Horizontal Rule (lines)  Inline image  Can have width and / or height attributes

XHTML List Tags  Enumerated list...  Itemized list (bullets)...  List item...  Definition list...  Definition term...  Definitions...

XHTML Tables Tags  --block tag  the title of a table  specifies a row  specifies row or column heading  rowspan, columnspan attributes specify span of a table cell  table data  align attribute can be left, center, or right  valign attribute can be top, or bottom  Cellpadding and cellspacing

HTML Forms  Most common way to communicate from Web browser to server.  HTML has tags for Widgets which create objects on the screen-form to be filled out.  single/multiple line text  Checkboxes,  Radio buttons,  Menus,  Submit and Reset buttons.

HTML Forms  Widgets are used to gather information from the user.  Each widget has a value: default or user input  Form data is composed of all the values of the widgets.  Submit button activated results in the form data being encoded and sent to the web server for processing  Reset button resets all widget values to defaults

The tag  Required attribute action --specifies URL of application to be called by submit button. action =" "  Attribute method specifies one of two possible  get  post

HTML Widgets  Many created with tag.  Attribute type specifies kind of widget used.  Text -creates horizontal box for text input  Size attribute can change default of 20 characters  Setting maxlength causes additional input to be ignored, otherwise, box is scrolled to the left.

HTML Widgets  Checkboxes -collect multi-choice input  Every item in the checkbox requires a value attribute. It is the widget's value in the form data when it is selected.  Non selected checkboxes contributes no values to the form data.  Initialized selections must have the checked attribute set to "checked." No selection is the default.

HTML Widgets  Radio Buttons -only one button can be "checked" at a time.  Every button in a radio group must have the same name  If no button is selected, browser selects the first one.

HTML Widgets  Menus are created with the tag  Name attribute of is required.  Can have multiple or single (default) selection.  Multiple selection is specified with the multiple attibute set to "multiple"  Size attribute specifies how many menu items to display (default is 1)  Size >1 or multiple specified --> pop-up menue

HTML Widgets  Menus  Menu items specified with the tag. Its text content is the value of the item.  Selected attribute of the tag is preselected if it is set to "selected"

HTML Widgets  tag used to create text input areas.  Size of the text area is provided by attribute: cols, and rows.  Default text included as the content of  Scrolling is implicit if area is overfilled.  Wrap attribute can be used to force a line to wrap arround when set to "hard"