.. pair. Insert the tags
by clicking the
Unordered List button on the Insert bar.
If a list item is too long to fit in a single line, the browser indents the text that wraps. By inserting a line
break code, you can emulate this behavior even when you??™re working with lines that aren??™t long enough to
need wrapping. To insert a line break, click the Line Break button in the Characters category of the Insert
bar or choose Insert ??? HTML ??? Special Characters ??? Line Break. Alternatively, use the key combination
Shift+Enter (Shift+Return), or just type
in your code. Figure 15-2 shows examples of both
approaches: inserted line breaks to force wrapping and the long paragraph that wraps naturally.
If you are creating an XHTML document, you must use
instead of
. When you
press Shift+Enter (Shift+Return), Dreamweaver automatically determines the correct format to
use for the break tag based on the DOCTYPE statement, visible at the top of the document in Code view.
FIGURE 15-2
A list is indented if the text wraps around the screen or if you insert a line break.
NOTE NOTE
TIP TIP
521
Creating Lists 15
522
Adding Advanced Design Features Part III
In this Technique, you practice adding an unordered list to a Web page.
Pages:
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969