Chapter 2 XHTML: Part II The Web Warrior Guide to Web Design Technologies.

Slides:



Advertisements
Similar presentations
Common Tags Always include the … tags Comments placed inside tags HTML documents –HEAD section Info about the document Info in header not generally rendered.
Advertisements

Tables Tables provide a means of organising the layout of data
Chapter 3 – Web Design Tables & Page Layout
Session 3 Intermediate HTML Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Elder L. Lionel Kendrick Of the First Quorum of the Seventy It has been from the beginning and it will be till the end that the natural man will have a.
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.
Images, Tables, lists, blocks, layout, forms, iframes
HTML and XHTML Controlling the Display Of Web Content.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
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.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
Database-Driven Web Sites, Second Edition1 Chapter 2 INTRODUCTION TO HTML.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 5 - Introduction to XHTML: Part 2 Outline 5.1 Introduction 5.2 Basic XHTML Tables 5.3 Intermediate.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Table, Forms, Metatags and Frames.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
XHTML1 Topics Work with the Frameset Document Type Definition (DTD) Create frames Use the target and base attributes Create nested frames Format frames.
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.
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.
XP Tutorial 6New Perspectives on HTML and XHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
XP 1 Tutorial 5 Using Frames in a Web Site. XP 2 Tutorial Objectives  Describe the uses of frames in a Web site  Lay out frames within a browser window.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
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.
 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.
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
 2004 Prentice Hall, Inc. All rights reserved. Chapter 5 - Introduction to XHTML: Part 2 Outline 5.1 Introduction 5.2 Basic XHTML Tables 5.3 Intermediate.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Department of Information Technology Chapter 9 – Creating Tables Lecturer: Ms Melinda Chung.
2.2 XHTML (cont.). Motto Yea, from the table of my memory I’ll wipe away all trivial fond records. —William Shakespeare.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
Introduction to HTML Part 3 Chapter 2. Learning Outcomes Identify how to design frames. Explain frames’ attributes. Describe the method on designing forms.
XHTML 1.1  Derived from Standard Generalized Markup Language (SGML) of ISO  XHTML concerned primary with content rather than presentation and style 
ITCS373: Internet Technology Lecture 5: More HTML.
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.
HTML: Tables & Frames Internet Technology.
Tutorial 8 Designing a Web Site with Frames. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore the uses of frames.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Lecture 6 More Advanced HTML Boriana Koleva Room: C54
HTML(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
HTML Forms.
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.
Assistant Professor,UCER Naini,Allahabad
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Working with Frames.
1 HTML Frames
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.
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.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
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
Chapter 5 - Introduction to XHTML: Part 2
1 Introduction to XHTML.
Introduction to XHTML Cont:.
Introduction to HTML.
Presentation transcript:

Chapter 2 XHTML: Part II The Web Warrior Guide to Web Design Technologies

Objectives In this chapter, you will: Work with text-formatting and phrase elements Add images to your Web pages Create lists Work with frames Create tables Build forms

Working with Text Two types of inline elements for managing text formatting are formatting elements and phrase elements. Formatting elements provide specific instructions as to how their contents should be displayed. –Examples of text-formatting elements:,,,, and

Working with Text Phrase elements primarily describe the content. –Examples of phrase elements:,,,, and. Special Characters: Special characters, like the copyright symbol, can be inserted into an XHTML document. Character entity references are used to insert special characters.

Working with Text Character entities contain a descriptive name preceded by an ampersand (&) and followed by a semicolon. –Example: © is used to insert the copyright symbol. Character entities are case-sensitive The character entity for an ampersand is &

Adding Images to Your Web Pages Images are added using the element. The src attribute specifies the file name of an image file. attributes: src, alt, longdesc, width, height, usemap, and ismap. The element must include the src attribute in order for an XHTML document to be well formed.

Adding Images to Your Web Pages The alt attribute specifies alternate text to display in place of the image file. If an element does not include a title attribute, the value assigned to the alt attribute appears as a ToolTip when the mouse is moved over the image. The size of an image is measured in pixels. Resolution is the number of pixels that can be displayed on a monitor.

Adding Images to Your Web Pages The height and the width attributes are used to specify the size of an image. The value assigned to the height and the width attributes in an element should always be the exact dimensions of the original image.

Creating Lists Three types of lists can be added to a Web page: –Unordered lists –Ordered lists –Definition lists

Creating Lists List elements and their description: Block-level element that creates an unordered list Block-level element that creates an ordered list Inline element that defines a list item Block-level element that creates a definition list Inline element that defines a definition list term Inline element that defines a definition list item

Creating Lists An unordered list is a list of bulleted items. The elements are nested within the elements as follows: list item 1 list item 2

Creating Lists An ordered list is a list of numbered items. elements are nested within the elements: Bill Clinton George Bush

Creating Lists A definition list is a list of terms and their definitions. Definition lists are created using the element. Within the element, elements are nested for term names and elements for term definitions.

Creating Lists Ohm Measurement unit for electrical resistance or impedance.

Working with Frames Frames are independent, scrollable portions of a Web browser window. Using frames, a Web browser window can be split into multiple windows. The Frameset DTD includes the and elements. A document is divided into frames using the element.

Working with Frames Use the rows and cols attributes to determine whether frames are created using rows or columns. The rows attribute determines the number of horizontal frames. The cols attribute determines the number of vertical frames. The asterisk allocates any remaining screen space to an individual frame.

Working with Frames The src attribute of the element specifies the URL to be opened in an individual frame. Frames can be assigned a name using the name attribute. This name can then be used as a target for a hyperlink. The target attribute of the element determines in which frame or Web browser window a URL opens.

Working with Frames The element is used to specify a default target for all links in a document, using the assigned name of a window or frame.

Creating tables Tables are collections of rows and columns that can be used to organize and display data. A cell is the intersection of a row and a column. Attributes of a table element: summary, width, border, frame, rules, cellspacing, and cellpadding.

Creating tables Table rows are created using the element. Cells are created within the element using the element. Header information is defined within the element.

Building Forms A form is used to collect information from the user and transmit that information to the server for processing. A form cannot be nested inside another form. Attributes of the form element include: action, method, and enctype. The enctype attribute specifies an encoding protocol known as MIME.

Building Forms Form controls include:,,, and. Attributes of the element include: alt, checked, maxlength, name, size, and src. Values of element’s type attribute: text, password, radio, checkbox, reset, button, submit, image, file, and hidden.

Building Forms To form data to a Web server, replace the Web server script’s URL in the element’s action attribute with: mailto: _address

Summary A user agent is a device that is capable of retrieving and processing XHTML. Character entities are used to add special characters to an XHTML document.

Summary Use the attribute to add images to a XHTML document. An unordered list is a list of bulleted items. An ordered list is a list of numbered items. A definition list is a list of terms and their definitions. Frames are independent scrollable portions of a Web browser window.

Summary Tables are collections of rows and columns that are used to organize and display data. Data on a form can be sent to an address instead of being submitted to a Web server.