<ul>

The <ul> element indicates unordered list.

TypeBlock Element
ContentsOne or more of the following elements: <li>
Attributesattributes

values

(Default are bolded)

description
(none)
Examples


Example:

<body>

<ul>

<li>non-browsable text entry</li>
<li><a href="http://host.com/index.html">hyperlink</a></li>

</ul>

</body>

Example:

<body>

<ul>

<li>Choose region:</li>
<li><a href="http://host.com/index.html">Asia</a></li>
<li><a href="http://host.com/index.html">Europe</a></li>
<li><a href="http://host.com/index.html">America</a></li>
<li></li>
<li><a href="wtai://wp/mc;12345">Call Helpdesk</a></li>

</ul>

</body>

<li>

The <li> element contains list item.

TypeList Item Element
Contents

Any combination of text and the following elements: exactly one <a>, <p>, <br>

Attributesattributes

values

(Default are bolded)

description

(none)
ExamplesExample:

<body>

<ul>

<li><a href="mailbox.html">02146912426</a> <br/>20.07.2007 20:07</li>
<li><a href="mailbox.html">05956551531</a> <br/>10.07.2007 10:07</li>
<li><a href="mailbox.html">32687751531</a> <br/>12.01.2007 12:07</li>
<li><a href="mailbox.html">01371617556</a></li>

</ul>

</body>


Example:

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE html PUBLIC "-//OMA//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Phonebook</title>

</head>

<body>

<ul>

<li> <a href="http://192.168.178.200/rap/Telephonebooks/Compagny/compagny.html">Compagny</a> </li>

<li> <a href="http://192.168.178.200/rap/Telephonebooks/User/user.html">User</a> </li>

<li> <a href="http://192.168.178.200/rap/Telephonebooks/Personal/personal.html">Personal</a> </li>

</ul>

</body>



  • No labels