 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.

Slides:



Advertisements
Similar presentations
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Advertisements

Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
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.
 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.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Marking Up With Html: A Hypertext Markup Language Primer
 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.
Chapter 2 Introduction to HTML5 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.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
 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.
Chapter 2 HTML (Hypertext Markup Language) Part I.
CSE 382/ETE 334 Internet and Web Technology Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Introduction to XHTML September 13, Components of website development
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.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
1 HTML Basics Dr. Awad Khalil Computer Science Department AUC.
HTML (HyperText Markup Language)
 2001 Prentice Hall, Inc. All rights reserved. Lecture 1 Internet and the World Wide Web Course structure Introduction XHTML Cascading Style Sheets JavaScript.
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.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
 2002 Prentice Hall, Inc. All rights reserved.2 Chapter 2 — Introduction to HyperText Markup Language 4: Part I Outline 2.1Introduction 2.2Markup Languages.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
 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.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
1 Introduction to XHTML: Part 1 Outline Introduction Elements and Attributes Editing XHTML Common Elements W3C XHTML Validation Service Headers Linking.
WEB DESIGN AND PROGRAMMING Introduction to XHTML.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Introduction to XHTML 1 Chapter 4 Introduction to XHTML: Part 1 Reference From: Internet & World Wide Web: How to Program Deitel, Deitel & Goldburg.
SY306 Web & Databases for Cyber Operations Spring 2016 LCDR Phong Le
Jozef Goetz contribution, J. Goetz, 2016  Pearson Education, Inc. All rights reserved.
CS3101 Internet Programming. Chapter 01 Introduction to XHTML 2Internet Programming - Chapter 01:XHTML Slides based on: Programming the World Wide Web.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Introduction to XHTML/HTML5 (part 1) Instructor: Sergey Goldman Based on Based on Internet & World Wide Web (multiple editions)
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Introduction to HTML5.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Chapter 24 – Introduction to XHTML Basic: Part I
Marking Up with XHTML Tags describe how a web page should look
Chapter 4 Introduction to XHTML: Part 1
4 Introduction to XHTML.
Chapter 4 Introduction to XHTML: Part 1
Chapter 1: Introduction to XHTML (part 1)
Introduction to XHTML.
Chapter 4 - Introduction to XHTML: Part 1
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 HTML- Basics
Introduction to XHTML Cont:.
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1

 2004 Prentice Hall, Inc. All rights reserved. Objectives In this session, you will learn: –To understand important components of XHTML documents. –To use XHTML to create Web pages. –To be able to add images to Web pages. –To understand how to create and use hyperlinks to navigate Web pages. –To be able to mark up lists of information.

 2004 Prentice Hall, Inc. All rights reserved. Introduction Extensible HyperText Markup Language –XHTML –A markup language –Separation of the presentation of a document from the structure of the document’s information –Based on HTML Technology of the World Wide Web Consortium (W3C)

 2004 Prentice Hall, Inc. All rights reserved. Editing XHTML XHTML documents –Source-code form –Text editor (e.g. Notepad, Wordpad, emacs, etc.) –.html or.htm file-name extension –Web server Stores XHTML documents –Web browser Requests XHTML documents

 2004 Prentice Hall, Inc. All rights reserved. First XHTML Example XHTML comments –Start with –html element head element –Head section Title of the document Style sheets and scripts body element –Body section Page’s content the browser displays –Start tag attributes (provide additional information about an element) –name and value (separated by an equal sign) –End tag

 2004 Prentice Hall, Inc. All rights reserved. Outline main.html (1 of 1)

 2004 Prentice Hall, Inc. All rights reserved. W3C XHTML Validation Service Validation service ( validator.w3.org ) –Checking a document’s syntax URL that specifies the location of the file Uploading a file to the site validator.w3.org/file-upload.html

 2004 Prentice Hall, Inc. All rights reserved. W3C XHTML Validation Service

 2004 Prentice Hall, Inc. All rights reserved. W3C XHTML Validation Service

 2004 Prentice Hall, Inc. All rights reserved. Headers Six headers ( header elements) –h1 through h6

 2004 Prentice Hall, Inc. All rights reserved. Outline header.html (1 of 1)

 2004 Prentice Hall, Inc. All rights reserved.

Linking Hyperlink –References other sources such as XHTML documents and images –Both text and images can act as hyperlinks –Created using the a (anchor) element Attribute href –Specifies the location of a linked resource Link to addresses using mailto: URL tag –Bold

 2004 Prentice Hall, Inc. All rights reserved. Outline links.html (1 of 2)

 2004 Prentice Hall, Inc. All rights reserved. Outline links.html (2 of 2)

 2004 Prentice Hall, Inc. All rights reserved. Outline contact.html (1 of 1)

 2004 Prentice Hall, Inc. All rights reserved.

Images Three most popular formats –Graphics Interchange Format (GIF) –Joint Photographic Experts Group (JPEG) –Portable Network Graphics (PNG) –img element src attribute –Specifies the location of the image file width and height Pixels (“picture elements”) Empty elements –Terminated by character / inside the closing right angle bracket ( > ), or by explicitly including the end tag br element –Line break

 2004 Prentice Hall, Inc. All rights reserved. Outline picture.html (1 of 1)

 2004 Prentice Hall, Inc. All rights reserved.

Outline nav.html (1 of 2)

 2004 Prentice Hall, Inc. All rights reserved. Outline nav.html (2 of 2)

 2004 Prentice Hall, Inc. All rights reserved.

Special Characters and More Line Breaks Character entity references (in the form &code; ) Numeric character references (e.g. & ) del –Strike-out text sup –Superscript text sub –Subscript text –Horizontal rule (horizontal line)

 2004 Prentice Hall, Inc. All rights reserved. Outline contact2.html (1 of 2)

 2004 Prentice Hall, Inc. All rights reserved. Outline contact2.html (2 of 2)

 2004 Prentice Hall, Inc. All rights reserved.

Unordered Lists Unordered list element ul –Creates a list in which each item begins with a bullet symbol (called a disc) –li (list item) Entry in an unordered list

 2004 Prentice Hall, Inc. All rights reserved. Outline links2.html (1 of 2)

 2004 Prentice Hall, Inc. All rights reserved. Outline links2.html (2 of 2)

 2004 Prentice Hall, Inc. All rights reserved. Nested and Ordered Lists Represent hierarchical relationships Ordered lists ( ol ) –Creates a list in which each item begins with a number

 2004 Prentice Hall, Inc. All rights reserved. Outline list.html (1 of 3)

 2004 Prentice Hall, Inc. All rights reserved. Outline list.html (2 of 3)

 2004 Prentice Hall, Inc. All rights reserved. Outline list.html (3 of 3)

 2004 Prentice Hall, Inc. All rights reserved.

Web Resources validator.w3.org hotwired.lycos.com/webmonkey/00/50/index2a.html wdvl.com/Authoring/Languages/XML/XHTML