XHTML, step by step

Get started working with Extensible Hypertext Markup Language. XHTML is a language based on HTML, but expressed in well-formed XML. However, XHTML has more to offer than just regularizing tags and characters -- XHTML can alter the way you approach Web design. This tutorial gives step-by-step instruction for developers familiar with HTML who want to learn how to use XHTML in practical Web sites.

 

Table of contents

  • Introducing XHTML
  • Who should take this tutorial?
  • Prerequisites
  • About the examples in this tutorial
  • Anatomy of an XHTML Web page
  • The flavors of XHTML
  • The XML declaration
  • Document type declarations
  • Main elements and namespace
  • A complete example
  • Understand the ground rules
  • Avoid obsolete elements
  • Use an end tag for all elements
  • Incorrect XHTML
  • Correct XHTML
  • Use proper form for all attributes
  • Use the xml:lang attribute
  • Replace common HTML idioms
  • Use stylesheets to set font and text details
  • Use the XML stylesheet processing instruction
  • Use style to align content
  • Align content with an internal stylesheet
  • Use ins and del to express edited content
  • Do not use text/html with XHTML 1.1
  • Use the W3C XHTML validator
  • Use the XML declaration for character encoding
  • Use XSLT to provide standby conversion to HTML
  • Embed XHTML in other vocabularies
  • XSLT document with embedded XHTML

The context surrounding XHTML
A language is always born in a particular context and it is usually the expression of a need that has been felt at a given moment. XHTML is no exception, and I would even add that we can not understand the value of this markup language without knowing the stakes of its existence.

A markup language
Before going further, you must understand a simple but often forgotten notion, even by insiders. XHTML is a markup language.

Size154.377 Kb
File typepdf
Downloads362
Created2018-09-26
Cover of XHTML, step by step
Preview PDF

Download

  • Learning Node.js

    Node.js is an event-based, non-blocking, asynchronous I/O framework that uses Google's V8 ..., download free Node.js tutorial in PDF (414 pages) created by ....

  • ASP.NET and Web programming

    This tutorial shows you the basics of ASP dot NET programming ,free training document for download designated to intermediate level users....

  • You Don't Know JS Yet: Objects and Classes - 2nd Edition

    No matter how much experience you have with JavaScript, odds are you don't fully understand the language. This concise, in-depth guide takes you inside JavaScript's this structure and object prototypes. You'll learn how they work and why they're integral to behavior delegation - a design pattern i...

  • What is SharePoint ?

    This tutorials provides an overview about Sharepoint software ,download a free training courses under 31 pages...

  • The Complete Beginner’s Guide to React

    This tutorial assumes that you have at least a beginner’s grasp of HTML and JavaScript. React.js is a JavaScript library that was created by Facebook. If you are keen to learn React from the ground-up feel free to check Learn and Understand React JS on Zenva Academy which covers all the basi...

  • Getting Started with Ruby programming language

    A complet tutorial about Ruby programming language under 594 pages for advanced level students, free training document in PDF by David Flanagan and Yukihiro Matsumoto....

  • React JS Notes for Professionals

    Download free course React JS Notes for Professionals, pdf file on 109 pages by Stack Overflow Community....

  • Beginning node.js pdf download

    This is a Node.js PDF Tutorial for free download. You will learn About What Node.js is, What Node.js is not, Features, Followed by a some example of each of the modules of Node.js API. By the end of this Tutorial, you will be able to understand the basics of Node.js ....

  • Node.js, a Developer's Guid

    Download free course To Learn how to reading documents from the database with Node.js. training PDF tutorial ....

  • PHP5 web programming

    This PDF tutorial shows how to program a dynamic web site using PHP5 ,free training lesson under 24 pages designated to the beginners....