wap wml xml wbmppicture of phone WAPtutor

8 Nesting

Nesting is when a tag or tag pair occurs within another pair of tags. The inner tags nest within the outer tags. We have already seen text formatting tags nesting within the paragraph tag. Nesting order is important as wml documents must be well formed. The last tag opened must be the next tag closed, or an error message will result.

<p>A sample <b>paragraph <u>of text.</u></b></p>

The underline tag nests within the bold tag, which nests within the paragraph tag. An incorrect closing sequence produces nothing but an error message.

<p><b><u>Error Message!!!</b></u></p>

< BACK   NEXT >

INSTANT
PHONECARDS
ONLINE!

 
Order Your Kaspersky Anti-Virus GOLD Now!    

 
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