wap wml xml wbmppicture of phone WAPtutor

9 Space

All blank space within WML code is condensed down to single spaces by the browser. Extra spaces, carriage returns, tab indents etc have no effect on the displayed content. In fact all the code in a WML document could be written on a single line with no breaks and still produce valid results. In practice we use gaps and new lines for clarity.

This is a feature of markup languages making the source code easier to read and modify.

<p>A line of text.</p>

<p>
A line of text.
</p>

<p>
A line
of text.
</p>

All paragraphs produce exactly the same result.

< BACK   NEXT  >

     

 
Introduction

1 Preparation
2 Markup Language
3 Addresses
4 Cards and Decks
5 Tags
6 Formatting
7 Attributes
8 Nesting
9 Space
10 Links
11 Images
12 Symbols
13 Requirements
14 Tables
15 Templates
16 Sample
17 Hints
18 Publishing
19 Promotion

WAPlinks
Glossary

Type in WAP
site address


 

Text Addict - Feed your Habit

Web design by www.littledetails.co.uk