Tutorial: Adding Text to a XHTML Document

Quick Jump:

Author: Martin Warning
Year: 2007
Page: 1

Introduction

Most XHTML documents are focussed on displaying text to a user and as such we need elements to identify the different types of text in an XHTML document. There are several changes from HTML with the biggest being the depreciation of the <font> element. This element can no longer be used and is replaced with the <span> element in XHTML.

Structure only

In XHTML documents the XHTML elements are used for structure, not for formatting. The formatting will instead be done with stylesheets. This means that elements can only be used to indicate what the containing text signifies structuraly. For example the heading elements can only be used to indicate a title, not to create bigger test.


Next Page »

Index:
Page 1: Introduction
Page 2: Paragraphs: <p>
Page 3: Bold and Italic
Page 4: Big and Small
Page 5: Superscript and Subscript
Page 6: Abbreviations
Page 7: <pre>


Pinternet.net: The world of beer on the Internet
Printed from: http://flyinglowlander.com/ (5/20/2012)
© FlyingLowander.com 2006 - 2012

Visit http://flyinglowlander.com for more XHTML, CSS, ASP and JavaScript examples, templates and tutorials.