authoring web sites in xhtml darlene fichter darlene.fichter@usask.ca university of saskatchewan...

Download Authoring Web Sites in XHTML Darlene Fichter darlene.fichter@usask.ca University of Saskatchewan Library Canada Internet Librarian International 26 March,

Post on 18-Dec-2015

214 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • Slide 1
  • Authoring Web Sites in XHTML Darlene Fichter darlene.fichter@usask.ca University of Saskatchewan Library Canada Internet Librarian International 26 March, 2003 Birmingham, UK
  • Slide 2
  • Overview Frameworks Portlets Why use XHTML? XHTML syntax How XHTML differs from HTML XHTML and CSS XHTML tools
  • Slide 3
  • Yesterday
  • Slide 4
  • Today
  • Slide 5
  • Computer - Device
  • Slide 6
  • Slide 7
  • Static HTML hand coding HTML Tag Editors HTML, Forms, Client Side Scripts WSIWYG & Management Tools Distributed Authoring Dynamic / Database SQL & Perl/PHP/ASP Portals & Personalization My Library Objects - XML Portals & Portlets Web Services XML, SOAP Web Page Web Site Web Services CMS Authoring & workflow
  • Slide 8
  • Content Challenges in 2003: Document Collections Storage & Management Content Structure Work Ease of use Ease of creation Good retrieval
  • Slide 9
  • Service Challenges Just in Time Repackaging Over the Long Term Preservation Migration
  • Slide 10
  • HTML Simple, general-purpose document markup language Simple hyperlinking Designed for collaborative authoring Combined authoring and viewing roles
  • Slide 11
  • HTML Strengths Open standard Lots of tools and applications Easy and cheap Rapidly adopted
  • Slide 12
  • HTML Weaknesses Not extensible Supports only simple document types Mixes presentation and structure Cross-browser wars
  • Slide 13
  • XML More meaningful searches Flexible web applications data from disparate sources/applications client processing multiple views granular updates Open standard Unicode Hope --> good for web delivery
  • Slide 14
  • What is XHTML? Called Next generation HTML HTML that conforms to XML standards Will eventually support integration with other XML applications Device independent web access
  • Slide 15
  • Why use XHTML? Most documents on the Internet are in HTML this is the logical next step Simpler than XML for most authors XHTML documents are XML compliant, which allows you to use XML tools such as XSL Future -- XHTML easier than HTML with the next generation of browsers
  • Slide 16
  • Why do We Need XHTML? Both HTML and SGML have major drawbacks. XMLs use for encoding web documents is still at early stages of adoption
  • Slide 17
  • Benefits of Adoption Easier to develop software handle specialized information distributed over the Web Process data using inexpensive software Allows greater end-user control of information display stylesheets Metadata for resource discovery
  • Slide 18
  • XHTML - What does it take? All documents must have a doctype declaration The transitional doctype declaration-- Head and body Syntax
  • Slide 19
  • XHTML 3 Variations Strict http://www.w3.org/TR/xhtml1/DTD/strict.dtd Used when CSS is used for all your formatting Transitional http://www.w3.org/TR/xhtml1/DTD/transitional.dtd Frameset http://www.w3.org/TR/xhtml1/DTD/frameset.dtd
  • Slide 20
  • Syntax: Lower case Case matters HTML: or or XHTML:
  • Slide 21
  • Syntax: Attributes Attributes must be quoted HTML XHTML
  • Slide 22
  • Syntax: Close Elements All tags must be closed HTML: Le chien dort. La chat joue. XHTML: Le chien dort. La chat joue.
  • Slide 23
  • Syntax: Empty Elements Empty elements must be terminated HTML: XHTML:
  • Slide 24
  • Elements Must Be Nested
  • Slide 25

Recommended

View more >