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

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.
Images, Tables, lists, blocks, layout, forms, iframes
HTML and XHTML Controlling the Display Of Web Content.
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.
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.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
225 City Avenue, Suite 106 Bala Cynwyd, PA , phone , fax presents… HTML Lists, Tables and Forms v2.0.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Web Development University of Khartoum. Web Development Web Programming Web Design University of Khartoum.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML Pt. 2.
 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.
Chapter 2 XHTML: Part II The Web Warrior Guide to Web Design Technologies.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
2.2 XHTML (cont.). Motto Yea, from the table of my memory I’ll wipe away all trivial fond records. —William Shakespeare.
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 
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 Forms.
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.
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Working with 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.
CS3101 Internet Programming. Chapter 01 Introduction to XHTML 2Internet Programming - Chapter 01:XHTML Slides based on: Programming the World Wide Web.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
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.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Marking Up with XHTML Tags describe how a web page should look
Organizing Content with Lists and Tables
Working with Tables: Module A: Table Basics
4 Introduction to XHTML.
HTML: HyperText Markup Language
Elements of HTML Web Design – Sec 3-2
CGS 3066: Web Programming and Design Spring 2016
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
Elements of HTML Web Design – Sec 3-2
Chapter 5 - Introduction to XHTML: Part 2
COMPUTING FUNDAMENTALS
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
1 Introduction to XHTML.
Introduction to XHTML Cont:.
Html.
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
The Internet 10/27/11 XHTML Forms
In this session, you will learn to:
Marking Up with XHTML Tags describe how a web page should look
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Web Client Side Technologies Raneem Qaddoura
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

The Web Warrior Guide to Web Design Technologies Chapter 2 XHTML: Part II Professor: Ken Clifton, CISSP, MCSE, MCSD, MCDBA, Network+, A+, CTT+, CXE

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: <b>, <big>, <small>, <sub>, and <tt>

Working with Text Special Characters: Phrase elements primarily describe the content. Examples of phrase elements: <abbr>, <acronym>, <code>, <samp>, and <strong>. 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 <img> element. The src attribute specifies the file name of an image file. <img> attributes: src, alt, longdesc, width, height, usemap, and ismap. The <img> 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 <img> 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 <img> 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: <ul> Block-level element that creates an unordered list <ol> Block-level element that creates an ordered list <li> Inline element that defines a list item <dl> Block-level element that creates a definition list <dt> Inline element that defines a definition list term <dd> Inline element that defines a definition list item

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

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

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

Creating Lists <dl> <dt><b>Ohm</b></dt> <dd>Measurement unit for electrical resistance or impedance.</dd> </dl>

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 <frameset> and <frame> elements. A document is divided into frames using the <frameset> 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 <frame> 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 <a> element determines in which frame or Web browser window a URL opens.

Working with Frames The <base> 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 <tr> element. Use <CAPTION> Caption Text </CAPTION> after the <table> tag to caption the table. Cells are created within the <table> element using the <td> element. Header information is defined within the <th> 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: <input>, <select>, <textarea>, and <button>. Attributes of the <input> element include: alt, checked, maxlength, name, size, and src. Values of <input> element’s type attribute: text, password, radio, checkbox, reset, button, submit, image, file, and hidden.

Building Forms To email form data to a Web server, replace the Web server script’s URL in the <form> element’s action attribute with: mailto:email_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 <img> 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 email address instead of being submitted to a Web server.