CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. August 25, 2010—All HTML code brought to XHTML standards.

Slides:



Advertisements
Similar presentations
MA foundation Creating webpages using XHTML (part 1) Simon Mahony CCH
Advertisements

XHTML Week Two Web Design. 2 What is XHTML? XHTML is the current standard for HTML Newest generation of HTML (post-HTML 4) but has many new features which.
Dr. Alexandra I. Cristea XHTML.
Website Design.
Anne McGrath 16 th February  Review of what we have learned so far.  Angled brackets surround HTML tags.  The words between the angled brackets.
XHTML Basics.
1. Content – Collective term for all text, images, videos, etc. that you want to deliver to your audience. 2. Structure – How the content is placed on.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
Beginning Web Site Creation: Dreamweaver CS4 Noreen Brown XHTML CODING -- TAGS.
Marking Up With Html: A Hypertext Markup Language Primer
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
1 HTML’s Transition to XHTML. 2 XHTML is the next evolution of HTML Extensible HTML eXtensible based on XML (extensible markup language) XML like HTML.
HTML Elements. HTML documents are defined by HTML elements.
HTML Code HTML can be written on the simplest text programs. A web page is defined by the tag.
Computer Sciences Department
Creating a Simple Page: HTML Overview
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Working with XHTML Creating a Well-Formed Valid Document.
 XHTML is aimed to replace HTML  XHTML is almost identical to HTML 4.01  XHTML is a stricter and cleaner version of HTML  XHTML is HTML defined as.
XHTML The Basics A brief history of HTML SGML (Standard Generalized Markup Language) Then came HTML Followed by the browser…and the great browser wars.
HTML (HyperText Markup Language)
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Reference for CIS127 and CIS 137.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. September 14, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. August 25, 2010—All HTML code brought to XHTML standards.
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,
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
HTML: Hyptertext Markup Language Doman’s Sections.
Lesson 4.
1 Web Application Programming Presented by: Mehwish Shafiq.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
HTML Hyper Text Markup Language 1BFCET BATHINDA. Definitions Web server: a system on the internet containing one or more web site Web site: a collection.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Elements and Attributes. XHTML Elements The element contains special information that does not necessarily show up on the web page. The element determines.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. September 22, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
Standards and Compliance. A Brief History of HTML HTML through 1991  Hypertext enabled pages but presentation was lacking HTML 
Creating Your 1 st Web Page. Tags Refers to anything between on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
HTML Basics.
Marking Up with XHTML Tags describe how a web page should look
Coding, Testing and Valdating a Web Page
Web Development & Design Foundations with HTML5 8th Edition
INP150: Basic HTML Instructor: Paul J. Millis
WEBSITE DESIGN Chp 1
Basic HTML and Embed Codes
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Intro to Web Development HTML Structure
Structuring Content in a Web Document
HTML Structure.
Marking Up with XHTML Tags describe how a web page should look
Pertemuan 1 Desain web Pertemuan 1
The Most Basic HTML Page
Marking Up with XHTML Tags describe how a web page should look
محمد احمدی نیا XHTML محمد احمدی نیا
Marking Up with XHTML Tags describe how a web page should look
INTRODUCTION TO WEB DEVELOPMENT
Creating Web Documents
Presentation transcript:

CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. August 25, 2010—All HTML code brought to XHTML standards.

Must Use a DOCTYPE All documents must have a DOCTYPE. Note: This has been covered in the Using DOCTYPE lecture. August 26, Professor Al Fichera – CIS67

All Markup In Lower-Case Only August 26, 2010 Professor Al Fichera – CIS All markup tags needs to be in lowercase For example the tags need to be ; Cannot use only Every markup tag needs to have some kind of corresponding ending tag as shown above.

All Markup Tags Must Close August 26, 2010 Professor Al Fichera – CIS Tags that never had ending tags before such as: Horizontal Rule; Break; <img... Image; <meta... Meta tags, Now must have a trailing space and then the closing slash: ; ; ; ; ; and The... ellipsis means there is additional content before the closing part of the tag.

Form Element Tags Must Close August 26, 2010 Professor Al Fichera – CIS Form element tags need to be properly closed now, such as: The needs the The needs ; So in other words, any markup tag you open, you must close.

All Attribute Values in Double Quotes August 26, 2010 Professor Al Fichera – CIS Every attribute value must be in double quotes " ": For the height="100" width="65" alt="description here". In other words anything that follows an equals sign = must have its value enclosed with double quotes " ".

Use Proper Nesting of Markup Tags August 26, 2010 Professor Al Fichera – CIS Proper nesting of tags, do not mix the sequence at all: Notice STOP is NOT acceptable at all, must be in mirror order Use STOP

Use Mirrored Order to Close Tags August 26, 2010 Professor Al Fichera – CIS If you need more help on this, think of each markup tag as a number, STOP, you see in a mirrored order.

Ampersands Must Be Coded August 26, 2010 Professor Al Fichera – CIS No ampersands (&) allowed within an attribute value, you must use it's character reference: If you intend to use the ampersand you must type & that will show on the page as an ampersand & The reason for this is ampersands are used sometimes in markup language. This also goes for Quotes as well. To see this (") type this "

No Empty Markup Tags Allowed August 26, 2010 Professor Al Fichera – CIS Markup tags that would work before but don't any more: The tag to create a next paragraph break now needs to contain something, even if it is only a non-breaking space character and a closing tag. will provide that next paragraph empty space in your XHTML document, create more and your space will grow deeper. Note: equals a non-breaking space character that actually glues Web page elements together. In other words if the two elements can’t fit at the end of a line, it will move both to the beginning of a new line.

Name Tag Has Been Changed August 26, 2010 Professor Al Fichera – CIS The Name attribute usually attributed to the image tag has changed to become an ID tag. This is now important to you, why? Because you are using XHTML 1.0 and an appropriate doctype at the top of the document.

The ID Attribute Has Been Added August 26, 2010 Professor Al Fichera – CIS The ID attribute needs to be added if you are using the name attribute. To be backwards compatible with older browsers use both:

No Shortcuts for Attributes August 26, 2010 Professor Al Fichera – CIS Attributes cannot be shortened, e.g., in a form element: the checked is wrong, it must be written as checked="checked".

Lecture Wrap Up August 26, 2010 Professor Al Fichera – CIS So that about wraps it up on what some of the basics of XHTML are. Everything that has been changed as seen in this lecture was not needed back in the old HTML 3.0 or 4.0 days. Research the Web for more on Markup Language to add to your knowledge base.