1 Web Development Lecture # 11 Introduction to XHTML (Chapter # 4) It.GulGasht.Com.

Slides:



Advertisements
Similar presentations
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Advertisements

Web Development & Design Foundations with XHTML
XHTML Basics. What is XHTML? XHTML is newer than the old HTML XHTML has stricter rules and does not allow some elements formerly used in HTML One benefit.
Chapter 2 HTML Basics Key Concepts
XHTML Basics Web pages used to be written exclusively in html
How Tags are used to form your Web Page
Lists, Lists, & Lists Unordered List Ordered List Definition List.
Chapter 4 – Intermediate HTML 4 Outline 4.1 Unordered Lists 4.2 Nested and Ordered Lists 4.3 Basic HTML Tables 4.4 Intermediate HTML Tables and Formatting.
B118 Web Programming Session #3 Introduction to XHTML February 16, 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.
Web Page Development Identify elements of a Web Page Start Notepad
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
 2001 Deitel & Associates, Inc. All rights reserved. 1 Chapter 10 – Intermediate HTML 4 Outline 10.1Introduction 10.2Unordered Lists 10.3Nested and Ordered.
 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.
Class 3 – Creating Lists In this lesson, you will learn to use HTML to organize your text into lists.
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.
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.
1 HTML Advanced Features Dr. Awad Khalil Computer Science Department AUC.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
>> Introduction to HTML: Tags. Hyper - is the opposite of linear Text – words / sentences / paragraphs Mark-up – Marking the text Language – It is a language.
1 Mastering the Internet and HTML Lists and List Tags.
1 Introduction to HTML: Part 1 Outline Introduction Elements and Attributes Editing HTML Common Elements Headers Images Unordered Lists Nested and Ordered.
HTML,DHTML & Javascript/Session1/1 of 39 Introduction and Basic Tags Session 1 of Using HTML, DHTML & JavaScript.
HTML Boot Camp: Formatted Lists
Ordered Lists By Brian Christian. Ordered List Tags You use this tag when you want to start an ordered list. Each list item you write need to start with.
Chapter 10 – Intermediate HTML 4 Outline 10.1Introduction 10.2Unordered Lists 10.3Nested and Ordered Lists 10.4Basic HTML Tables 10.5Intermediate HTML.
1 Introduction to XHTML. 2 Main.html Program Output 1 2
Web Design I Spring 2009 Kevin Cole Gallaudet University
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
1 Introduction to XHTML: Part 1 Outline Introduction Elements and Attributes Editing XHTML Common Elements W3C XHTML Validation Service Headers Linking.
Suzanne Sultan1 Line Breaks, Paragraphs, lists Lab3.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Agenda Lists Purpose Types of Lists: Unordered Ordered Definition.
HTML Introduction. Lecture 7 What we will cover…  Understanding the first html code…  Tags o two-sided tags o one-sided tags  Block level elements.
XHTML Lists. There are three types of lists available in XHTML  Unordered or bulleted lists  Ordered or numbered lists  Definition or directory lists.
Introduction to XHTML 1 Chapter 4 Introduction to XHTML: Part 1 Reference From: Internet & World Wide Web: How to Program Deitel, Deitel & Goldburg.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2- part 2 Key Concepts 1 Copyright © Terry Felke-Morris.
ECA 228 Internet/Intranet Design I HTML Tags. ECA 228 Internet/Intranet Design I anchor tags Adds a link to the web page Anything placed between the anchor.
The Complete Reference OMT II Mam Saima Gul. * Modern HTML has three basic forms of lists: ordered lists ( ), unordered lists ( ), and definition lists.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
INT222 – Internet Fundamentals
XHTML Basics. What is XHTML? XHTML is newer than, but built upon, the original HTML (Hyper Text Markup Language) platform. XHTML has stricter rules and.
Text Elements. We've already learned about the,,,, and elements. Now let's learn some elements that we'll use to present actual text content on our web.
© UNT in partnership with TEA1 Web Technologies Introduction to HTML Scripting.
Basic Webpage Design Formatting output using Unordered List and Ordered List tag.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 22 - i-mode Outline 22.1 Introduction 22.2 Japan’s Telecommunications Industry and Infrastructure.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
Web Development & Design Foundations with HTML5 8th Edition
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Text Elements.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Text Elements.
Chapter 4 - Introduction to XHTML: Part 1
Text Elements.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Chapter 4 - Introduction to XHTML: Part 1
Text Elements.
LISTS.
Text Elements.
Chapter 4 - Introduction to XHTML: Part 1
Presentation transcript:

1 Web Development Lecture # 11 Introduction to XHTML (Chapter # 4) It.GulGasht.Com

2 Lists Lists are block formatting elements that define block level structures. These can be nested. These can contain other block level structures. There are three types of lists: 1.Ordered lists: … “ Defines a list in which order matters.” These are suitable for creating simple outlines or step by step instructions. List items are automatically numbered by browsers. Numbering Schemes –Decimal numbers –English alpha bets –Roman numbers

3 Lists Ordered Lists Cont. List Items: … –Lists items are automatically indented by the browsers. –It gives line break automatically. Attributes –type=“1 | A | a | i | I ”  “1”is default value and starts numbering from (1, 2, 3,…)  “A” will give upper case letters (A, B, C,…)  “a” will give lower case letters (a,b,c….)  “I” will give upper case roman numerals (I, II, III,…)  “i” will give Lowercase Roman numerals (I, ii, iii… )  Type attribute within element sets the numbering scheme for whole list unless overridden by type value in.

4 Lists Ordered List Cont. –start: takes a numeric value, to begin the list numbering. We will use numeric values even for roman or alphabets by giving the position of starting letters. E.g. “10” for “j”. Attributes: type: has same functioning as in.If once set value it affects rest of elements. value: changes the numbering sequence in the middle of an ordered list In numbering negative (as it cant calculate it is not programming language) or very large values should avoid as it produces unexpected results Browsers allocate fix space to the left of list item to display numbering. Otherwise numbers may over write list items Nested lists may have more space.

5 Lists 2.Unordered Lists: “is used for lists of items in which ordering is not specific.” – … –A browser adds bullets of some sort and indents list itself. –Can be nested, with each level more indentation and different bullets. –Level 1: filled circle, solid round –Level 2: empty circle –Level 3: squares Attributes 1.type =“disc | circle | square”

6 Lists 3.Definition List ” is a list of terms paired with associated definitions e.g., in the glossary. “ … Definition Term Definition Description

7 Links2.html 1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 3 " Internet and WWW How to Program - Links Here are my favorite sites Click on a name to go to that page Deitel Prentice Hall Yahoo! USA Today The entries in an unordered list must be included between the and tags. An entry in the list must be placed between the and tags.

8 Program Output Each entry in the list is rendered on its own line with a bullet before it.

9 List.html 1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3 " Internet and WWW How to Program - Lists The Best Features of the Internet You can meet new people from countries around 15 the world. 16 You have access to new media as it becomes public: tag --> New games 23 New applications For business 28 For pleasure Entries for an ordered list must be placed between the and tags. By inserting a list as an entry in another list, lists can be nested.

10 List.html 32 Around the clock news 33 Search engines 34 Shopping 35 Programming XML 39 Java 40 XHTML 41 Scripts 42 New languages Links 49 Keeping in touch with old friends 50 It is the technology of the future! My 3 Favorite CEOs Harvey Deitel 59 Bill Gates 60 Michael Dell 61 The type attribute of the ordered list element allows you to select a sequence type to order the list. Text placed between the em tags will be italicized.

11 List.html Program Output Some sequence types available to order lists are roman numerals, letters and numbers. Nested lists are indented underneath the main list.