<ul>
The <ul> element indicates unordered list.
Type | Block Element | ||
---|---|---|---|
Contents | One or more of the following elements: <li> | ||
Attributes | attributes | values (Default are bolded) | description |
(none) | |||
Examples | Example: | ||
<body> <ul> <li>non-browsable text entry</li> </ul> </body> | |||
Example: | |||
<body> <ul> <li>Choose region:</li> </ul> </body> |
<li>
The <li> element contains list item.
Type | List Item Element | ||
---|---|---|---|
Contents | Any combination of text and the following elements: exactly one <a>, <p>, <br> | ||
Attributes | attributes | values (Default are bolded) | description |
(none) | |||
Examples | Example: | ||
<body> <ul> <li><a href="mailbox.html">02146912426</a> <br/>20.07.2007 20:07</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> |