Within each of these structural
elements, the related tags are indented (or nested) more than the initial two spaces. As you can see in
Listing 4-1, each table row (
) is indented within the table tag, and the table data tags () are nested within the table row. LISTING 4-1 An Indented Code Sample
Row 1, Column 1 |
Row 1, Column 2 |
Row 1, Column 3 |
Row 2, Column 1 |
Row 2, Column 2 |
Row 2, Column 3 |
111 Setting Your Preferences 4 The other two items in the indent control section of the Code Format preferences category are Indent Size and Tab Size. Change the value in Indent Size to establish the size of indents using spaces. To alter the size of tab indents, change the Tab Size value. Line Control option The browser is responsible for ultimately formatting an HTML page for viewing. This formatting includes wrapping text according to each user??™s screen size and the placement of the paragraph tags (... ). Therefore, you control how your code wraps in your HTML editor. You can turn off the automatic wrapping feature or set it for a particular column through the Line Control options of the Code Format category.
Pages:
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
|