B118 Web Programming Session #3 Introduction to XHTML February 16, 2004.

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

HTML. The World Wide Web Protocols Addresses HTML.
HTML: HyperText Markup Language Hello World Welcome to the world!
Background: HTML and CSS Chapters 1-4 of Deitel XML text.
1 Outline 9.1Introduction 9.2Markup Languages 9.3Editing HTML 9.4Common Tags 9.5Headers 9.6Text Styling 9.7Linking 9.8Images 9.9Formatting Text With 9.10Special.
 2001 Deitel & Associates, Inc. All rights reserved. 1 Outline 9.1Introduction 9.2Markup Languages 9.3Editing HTML 9.4Common Tags 9.5Headers 9.6Text Styling.
Session #8 Dynamic HTML March 22, 2004
1 Introduction to XHTML: Part 2 Outline Introduction Basic XHTML Tables Intermediate XHTML Tables and Formatting Basic XHTML Forms More Complex XHTML Forms.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Images and Tables. Displaying Image Attributes: SRC= " mypic.gif " – Name of the picture file SRC= " pic/mygif.jpg " – Name of file found in pic directory.
Introduction to HTML. What is a Web site? A collection of "pages" or files linked together and available on the World Wide Web What do you need to create.
1 XHTML Tables A table is a matrix of cells, for displaying content in rows and columns The cells can include almost any element Some cells display row.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
XHTML for Content Structure Chapter 3. Overview and Objectives Discuss briefly the history of, and relationship between, HTML and XHTML Stress the importance.
1 Outline 3.1 Introduction 3.2 Editing HTML 3.3 First HTML Example 3.4 W3C HTML Validation Service 3.5 Headers 3.6 Linking 3.7 Images 3.8 Special Characters.
1 HTML Basics Dr. Awad Khalil Computer Science Department AUC.
1 XHTML Forms A form is the mechanism to –Collect information from a browser user –Transmit collected information from a browser to a server HTML/XHTML.
 2001 Prentice Hall, Inc. All rights reserved. Lecture 1 Internet and the World Wide Web Course structure Introduction XHTML Cascading Style Sheets JavaScript.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Agenda Links External and Internet Links Anchor Tag Text Hyperlinks Image Hyperlinks Images Image Attributes: src, alt, width, height, align, border.
Web Development University of Khartoum. Web Development Web Programming Web Design University of Khartoum.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
 2002 Prentice Hall, Inc. All rights reserved.2 Chapter 2 — Introduction to HyperText Markup Language 4: Part I Outline 2.1Introduction 2.2Markup Languages.
HTML - basic tags - How to learn more. What is HTML? HyperText Markup Language HTML5: – Recommended by the W3C.
1 HTML Advanced Features Dr. Awad Khalil Computer Science Department AUC.
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
1 Introduction to HTML: Part 1 Outline Introduction Elements and Attributes Editing HTML Common Elements Headers Images Unordered Lists Nested and Ordered.
1 Web Development Lecture # 11 Introduction to XHTML (Chapter # 4) It.GulGasht.Com.
1 Web Developer Foundations: Using XHTML Chapter 3 XHTML Hyperlinks and Tables.
Chapter 2 XHTML: Part II The Web Warrior Guide to Web Design Technologies.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
1 Introduction to XHTML. 2 Main.html Program Output 1 2
HTML: Tables & Frames Internet Technology.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
1 Introduction to XHTML: Part 1 Outline Introduction Elements and Attributes Editing XHTML Common Elements W3C XHTML Validation Service Headers Linking.
Chapter 4 Applets Cop Why Applets? WWW makes huge information available to anyone with web browser. Web server send web pages and images to your.
2.1 XHTML. Motto High thoughts must have high language. –Aristophanes.
Introduction to XHTML 1 Chapter 4 Introduction to XHTML: Part 1 Reference From: Internet & World Wide Web: How to Program Deitel, Deitel & Goldburg.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
REEM ALMOTIRI Information Technology Department Majmaah University.
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.
INT222 – Internet Fundamentals
HTML Paragraphs Paragraphs are defined with the tag. Example This is a paragraph This is another paragraph.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Chapter 24 – Introduction to XHTML Basic: Part I
The Web Warrior Guide to Web Design Technologies
Basic HTML and Embed Codes
Chapter 4 - Introduction to XHTML: Part 1
1 Introduction to XHTML.
Introduction to XHTML Cont:.
Chapter 4 - Introduction to XHTML: Part 1
Introduction to HTML.
Chapter 4 - Introduction to XHTML: Part 1
Presentation transcript:

B118 Web Programming Session #3 Introduction to XHTML February 16, 2004

Tonight’s Agenda XHTML introduction W3C XHTML Validation Service demo Lists Tables Using images for links Quiz - next week on chapter 4 !!! –Chapter 5 after that… –Chapters 3 & 6 after that…

Upcoming Assignments XHTML Resume (2/23/04) Project team roster (2/23/04)

Term Project Project teams –Positions available / Positions wanted? 2/23 term project deliverables: –Team roster and staffing responsibilities Project manager Software development Content creation Quality assurance (QA) and testing –Group name –One sentence tag line –One paragraph company summary

Introduction to XHTML

Textbook Error The DTD string on pages 31 and 48 are incorrect. Instead of it should be

Displaying Images <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " Internet and WWW How to Program -Welcome <img src = "xmlhtp.jpg" height = "238" width = "183" alt = "XML How to Program book cover" /> <img src = "jhtp.jpg" height = "238" width = "183" alt = "Java How to Program book cover" />

Lists and Hyperlinks Deitel W3C Yahoo! CNN

Linking to an image <img src = "buttons/links.jpg" width = "65" height = "50" alt = "Links Page" />

Nested Lists New games New applications For business For pleasure

Changing the Bullet Character For business For pleasure XML Java XHTML Scripts New languages

Linking to an address My address is Click the address and your browser will open an message and address it to me.

Tables – Concept

Tables – Code Cell #1 Cell #2 Cell #3 Cell #4

Tables – Customizing Appearance

Tables – Customizing Appearance

Practice Exercises Exercise 4.6: An image named deitel.gif is 200 pixels wide and 150 pixels high. Use the width and height attributes of the tag to (a) increase the size of the image by 100%; (b) increase the size of the image by 50%; and (c) change the width-to- height ratio to 2:1, keeping the width attained in part (a). Write separate XHTML statements for parts (a), (b) and (c).

Practice Exercises Exercise 4.10: create an XHTML document that uses an image as an link. Use attribute alt to provide a description of the image and link.

Practice Exercises Exercise 5.11: create an XHTML document that displays a tic-tac-toe table with player X winning. Use to mark up both Xs and Os. Center the letters in each cell horizontally. Title the game using an tag. This title should span all three columns. Set the table border to one.