HTML offers three ways for specifying lists: ordered lists, unordered lists, and description lists. Ordered lists use ordinal sequences to indicate the order of list elements, unordered lists use a defined symbol such as a bullet to list elements in no designated order, and description lists use indents to list elements with their children. This topic explains the implementation and combination of these lists in HTML markup.
While an Erlang string is a list of integers, an "iolist" is a list whose elements are either integers, binaries or other iolists, e.g.
["foo", $b, $a, $r, <<"baz">>]. That iolist represents the string
While you can convert an iolist to a binary with
iolist_to_binary/1, you often don't need to, since Erlang library functions such as
gen_tcp:send/2 accept iolists as well as strings and binaries.