Web page - A Web page is a simple text file that contains a set of HTML tags (code) that describe (to the browser) what should go on a web page. It may.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Web Development & Design Foundations with XHTML
WeB application development
Website Design.
1 HTML Standards & Compliance. 2 Minimum Required HTML tags: (must go in this order!)
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.
Pengantar Teknologi Mobile 13 Antonius Rachmat C, S.Kom, M.Cs XHTML.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
History Leading to XHTML
XHTML 16-Apr-17.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
17-Jun-15 XHTML 2 What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML.
Unit 2, cont. September 14 HTML,Validating your pages, Publishing your site.
Lecture 2B: HTML and CSS IT 202—Internet Applications Based on notes developed by Morgan Benton.
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
Creating a Well-Formed Valid Document. 2 Objectives Introducing XHTML Creating a Well-Formed Document Creating a Valid Document Creating an XHTML Document.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
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.
Computer Sciences Department
Basics of HTML.
Web page - A Web page is a simple text file that contains HTML tags (code) that describe what should be displayed on the browser. -The Web browser interprets.
Creating a Simple Page: HTML Overview
HTML & XHTML Introduction. First HTML 1992 Marked-up text to represent a hypertext document for transmission over the network The hypertext mark-up language.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Creating a Basic Web Page
XML introduction to Ahmed I. Deeb Dr. Anwar Mousa  presenter  instructor University Of Palestine-2009.
XP Tutorial 9New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
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.
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
1 HTML intro The development of HTMLThe development of HTML The transition from HTML to XHTMLThe transition from HTML to XHTML XHTML syntax, tags, and.
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.
Introduction. Document Structure Overview  XML declaration (prolog)  Document type declaration  Root element (namespace)  Document header  Document.
1 HTML XHTML. 2 Understand the Doctype tag Know the html tags which are now classed as depreciated Understand how Dreamweaver adds styles Add styles to.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
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.
XHTML Introduction to Xtensible HyperText Markup Language Screen Readers – Click the Notes button in the lower right corner.
XP Tutorial 9 1 Working with XHTML. XP SGML 2 Standard Generalized Markup Language (SGML) A standard for specifying markup languages. Large, complex standard.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
XML Basics A brief introduction to XML in general 1XML Basics.
Web Terminology Intro to Web. North Lake College 2 by Sean Griffin HTML vs. XHTML HTML: Hypertext Markup Language XHTML: eXtensible Hypertext Markup Language.
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade HTML 5th Grade Syntax 4th Grade HTML 4th Grade Syntax 3rd Grade HTML 3rd Grade Syntax 2nd Grade.
HTML A brief introduction HTML1. HTML, what is? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
Unit 3 — Advanced Internet Technologies Lesson 10 — Introduction to XHTML.
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
Cascading Style Sheet CSS Closing Switch Closing Tag Code View
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
Web Basics: HTML/CSS/JavaScript What are they?
Creating a Well-Formed Valid Document
Introduction to HTML.
XHTML
HTML A brief introduction HTML.
XHTML 7-May-19.
XHTML 29-May-19.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Web page - A Web page is a simple text file that contains a set of HTML tags (code) that describe (to the browser) what should go on a web page. It may also contain CSS styles, which tell it how the page should look. -The Web browser interprets these tags to decide how to format the text onto the screen.

HTML Review -Basic tag syntax content  tag - describes the function or format of the content  attribute – describes what aspect of the tag you are changing (there may be MANY attributes for one tag or none)  value – describes how you are changing the tag.  Content – what you want to be visible on the page, such as a welcome message. Example: welcome!

Anatomy of a Tag (standalone tags)  See how the tag still has a beginning and ending />  No content  Not a “containing” tag  Ex.

Anatomy of a web page  HTML – HyperText Markup Language WHAT content goes in the web browser. Not a programming language! But a language for programs to interpret into web pages.  XHTML – eXtensinble HTML Latest standard of HTML XML and HTML have a kid Stricter, but easier to get what you want on the screen. Still an.html file, still called “hypertext”  CSS – Cascading Style Sheets HOW your content is depicted in the web browser..css files

XHTML  The newest version of HTML  Has many requirements  Makes sites more consistent across browsers (this will increase with time)

1. Declare a DOCTYPE This tells the browser what kind of markup it is dealing with

2. Declare an XML Namespace -when a browser needs to know what in a DTD (Doctype Declaration) this is where it can find it.

Character Encoding  Many possible characters (chinese, arabic, greek, latin)  To keep browsers in “the know” you should have character encoding at the top of your document  (note this is only if you are saving your files in ANSI formatt in notepad!)  NOTE: Dreamweaver takes care of this for you.

3. Declare a content type - This is if your text files are saved in ANSI format. (This says we are using latin, instead of chinese, japanese, greek, etc characters) - Goes in the header of your document

4. Close EVERY tag  Standalone:  Tag pairs:

5. Correctly nested tags  If a tag opens before a preceding one closes, it MUST be closed before that preceding one closes:  It’s very important to nest them properly

6. Inline tags cannot contain block level tags.  Block level tags ( ) stack on top of one of each other on the page.  Inline tags ( ) occurs in normal flow of text and don’t force a new line.  You can do but not the other way around.

Block vs Inline Tags  Inline tags  Block-level tags etc

Block usually cannot contain other block level tags.  Block level tags cannot be inside other block level or inline tags  But tags and the tag (also block-level) are the exception It is ok to put

7. Lowercase tags  No capital letters in tags or attribtues. – The Doctype tag is the only exception to this.

8. Attributes must have values, values must be quoted  In HTML you didn’t have to do this. In XHTML this is crucial.

9. Use encoded equivalents for & ‘ and <  You must use special characters when you want to use these in your document

Validating your XHTML  Your document’s XHTML must validate at  (You will want to validate via file upload). You can use the Validator to find errors you may need to convert into XHTML compliant code.  Browse to upload your file and click “check”  Problems are noted, but it may not tell you exactly what’s wrong.