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

XHTML tutorial in PDF

Introduction to XHTML

Others related eBooks about XHTML, step by step

Eloquent JavaScript, 3rd Edition

JavaScript lies at the heart of almost every modern web application, from social apps like..., download free JavaScript tutorial in PDF (472 pages) created by ....

CSS Animation 101

Download free course CSS Animation 101, pdf file on 91 pages by Donovan Hutchinson....

Advanced javascript

...

Introduction to web development with Python and Django

Download introduction to web development with Python and Django, free training document in PDF under 28 pages....

Writing your first Django app

With this tutorial you will learn how to write your first Django application, free training document intended to beginners....

Getting started with WordPress

Download free WordPress tutorial course in PDF, training file in 72 chapters and 208 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Angular Succinctly

Download free course Angular Succinctly, pdf file on 124 pages by by Joseph D. Booth....

Http2 Explained

This is a detailed document describing HTTP/2 (RFC 7540), the background, concepts, protocol and something about existing implementations and what the future might hold....

Understanding ECMAScript 6: The Definitive Guide for JavaScript Developers

This book is a guide for the transition between ECMAScript 5 and 6. It is not specific to any JavaScript environment, so it is equally useful to web developers as it is Node.js developers....

AngularJS Web Application Development Cookbook

Packed with easy-to-follow recipes, this practical guide will show you how to unleash the ..., download free Angular tutorial in PDF (346 pages) created by Matt Frisbie ....