WEB DESIGN AND PROGRAMMING Introduction to XHTML.

Slides:



Advertisements
Similar presentations
Teppo Räisänen LIIKE/OAMK 2010
Advertisements

INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
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.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
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.
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
 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.
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.
HTML (HyperText Markup Language)
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.
HTML and XML Behind Web Authoring Tools. 2 Objectives Introduce HTML Learn HTML Step by step Introduce XML.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
 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.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
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.
4 HTML Basics 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.
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.
Copyright © Pearson, Inc All Rights Reserved. WEEK 7: INTRODUCTION TO HTML5 Sotiris Charalambous.
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.
Introduction to HTML5.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
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:

WEB DESIGN AND PROGRAMMING Introduction to XHTML

WEB DESIGN AND PROGRAMMING 2 Editing XHTML XHTML documents – Source-code form – Text editor (e.g. Notepad, Wordpad, emacs, etc.)‏ – WYSIWIG editor (e.g. Dreamweaver, Front Page, Homesite)‏ –.html or.htm file-name extension – Web server Stores XHTML documents – Web browser Requests XHTML documents

WEB DESIGN AND PROGRAMMING 3 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

WEB DESIGN AND PROGRAMMING main.html (1 of 1)‏

WEB DESIGN AND PROGRAMMING 4 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

WEB DESIGN AND PROGRAMMING 4 W3C XHTML Validation Service

WEB DESIGN AND PROGRAMMING 4 W3C XHTML Validation Service

WEB DESIGN AND PROGRAMMING 5 Headers Six headers ( header elements)‏ –h1 through h6

WEB DESIGN AND PROGRAMMING header.html (1 of 1)‏

WEB DESIGN AND PROGRAMMING

6 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

WEB DESIGN AND PROGRAMMING links.html (1 of 2)‏

WEB DESIGN AND PROGRAMMING links.html (2 of 2)‏

WEB DESIGN AND PROGRAMMING contact.html (1 of 1)‏

WEB DESIGN AND PROGRAMMING

7 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

WEB DESIGN AND PROGRAMMING picture.html (1 of 1)‏

WEB DESIGN AND PROGRAMMING

nav.html (1 of 2)‏

WEB DESIGN AND PROGRAMMING nav.html (2 of 2)‏

WEB DESIGN AND PROGRAMMING

8 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)‏

WEB DESIGN AND PROGRAMMING contact2.html (1 of 2)‏

WEB DESIGN AND PROGRAMMING contact2.html (2 of 2)‏

WEB DESIGN AND PROGRAMMING

9 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

WEB DESIGN AND PROGRAMMING 10 Nested and Ordered Lists Represent hierarchical relationships Ordered lists ( ol )‏ – Creates a list in which each item begins with a number

WEB DESIGN AND PROGRAMMING links2.html (1 of 2)‏

WEB DESIGN AND PROGRAMMING

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