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: 352
Created: 2018-09-26

Others XHTML Tutorials

XHTML tutorial in PDF

Introduction to XHTML

Others related eBooks about XHTML, step by step

Node.js tutorial pdf

...

Eloquent JavaScript: A Modern Introduction to Programming

JavaScript lies at the heart of almost every modern web application, from social apps to the newest browser-based games. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications. ...

Node.js programming by example

Download Free training document about Node.js under 16 pages intended to advanced level-users....

AngularJS Notes for Professionals

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

PHP tutorial for professionals

Download free PHP tutorial course in PDF, training file in 107 chapters and 481 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Building iPhone Apps with HTML, CSS, and JavaScript

It's a fact: if you know HTML, CSS, and JavaScript, you already have the tools you need to..., download free JavaScript tutorial in PDF (186 pages) created by ....

PrestaShop Developer Guide

Download free Prestashop document, course and tutorial training, PDF file on 37 pages intended to beginners whos wants to build his own online commerce store....

Object Oriented Programming in PHP5

The purpose of this PDF tutorial is to provide a basic guide for student interested in Object Oriented Programming in PHP5 to build a dynamic web application....

Angular 2 ebook for professionals

Download free Angular 2 tutorial course in PDF, training file in 69 chapters and 232 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Getting started with PHP

Download free PHP tutorial in PDF ,training document under 10 pages for beginners.Learn how to easy code your first PHP script....