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.

Size : 154.377 Kb
File type : pdf
Downloads: 353
Created: 2018-09-26

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others XHTML Tutorials

Introduction to XHTML

XHTML tutorial in PDF

Others related eBooks about XHTML, step by step

The JavaScript Way

This book aims to be a useful companion for anyone wishing to (re)discover the many facets of JavaScript. Numerous brain cycles were spent to make it: ...

Reactive Data Handling

We depend on web applications to be highly-available and to provide us with up-to-the-seco..., download free React tutorial in PDF (139 pages) created by ....

AngularJS Notes for Professionals

Download free course AngularJS Notes for Professionals, pdf file on 201 pages by by Stack Overflow Community....

You Don't Know JS Yet: Types and Grammar - 2nd Edition

No matter how much experience you have with JavaScript, odds are you don't fully understand the language. As part of the JS series, this compact guide explores JavaScript types and demonstrating why types work, and showing you how to take advantage of these features....

Learning HTML5 Canvas

Download free course Learning HTML5 Canvas, pdf file on 198 pages by Stack Overflow Community....

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...

Cascading Style Sheets (CSS) Notes

CSS Notes,free pdf tutorial about Cascading Style Sheet, complete training document in 16 pages designated to beginners....

Transforms in CSS

Download free course Transforms in CSS, pdf file on 42 pages by Eric A. Meyer....

Responsive Web Design Tutorial

Download free Responsive Web Design With fluid grids for desktop, tablet, and mobile, with example and exercises, course material, tutorial training, a PDF file under 30 pages by Tim Davison....

Node.js, a Developer's Guid

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