Posted By:
Ganeshalingam_Gobithan
Posted On:
Friday, August 10, 2001 02:12 AM
KTML Example Imagine a restricted version of HTML called KTML containing tags illustrated in the following extract: The KTML Language KTML Tags KTML tags are a limited subset of those available in HTML. Three levels of heading are supported together with a range of tags for supporting emphasized text . Simple indented lists are also supported. For example: Item 1 Item 2 Item 3 Attributes The body and front tags support attributes, which permit the background color and text color to be specified. Write a java
More>>
KTML Example
Imagine a restricted version of HTML called KTML
containing tags illustrated in the following extract:
The KTML Language
KTML Tags
KTML tags are a limited subset of those available in
HTML. Three levels of heading are supported together
with a range of tags for supporting
emphasized
text
.
Simple indented lists are also supported.
For example:
Item 1
Item 2
Item 3
Attributes
The body and front tags support attributes, which
permit the background color and text color to be
specified.
Write a java program that will parse and display a
KTML document. Your answer should include a brief
description of the program (codes as to be commented
where appropriate using file://), together with test plans
and test results. KTML only supports the tags and
attributes exemplified in the above example. (Tags and
attributes should have a similar display
interpretation to their HTML counterparts.)
Please use html tags to format code blocks.
<<Less