Tag Inspector

The Property inspector is a handy tool. With it, you can adjust properties for all sorts of HTML tags, like a table’s width or a paragraph’s font. But even the Property inspector doesn’t tell the whole story: some HTML tags have additional properties that don’t appear there. While these are obscure and infrequently used properties for the most part, until Dreamweaver MX came along, you had to go into Code view to add them.

Dreamweaver MX introduces the Tag inspector (see Figure 9-11). Think of it as the über–Property inspector. For hard-core HTML fanatics, it’s the best way to set properties for every HTML tag. To display it, press the F9 key, or choose WindowTag Inspector (the same procedure also hides this panel).

Dreamweaver MX’s new Tag inspector lets you edit every property of every tag on a page. What it lacks in user-friendliness (you need to know a lot about HTML to use it correctly), it makes up for in comprehensiveness. You can even set a property value dynamically based on information retrieved from a database, using the lightning bolt button (circled). (Of course, you must first learn how to build dynamic Web sites by reading Part 6 of this book.)

Figure 9-11. Dreamweaver MX’s new Tag inspector lets you edit every property of every tag on a page. What it lacks in user-friendliness (you need to know a lot about HTML to use it correctly), it makes up for in comprehensiveness. You can even set a property value dynamically based on information retrieved from a database, using the lightning bolt button (circled). (Of course, you must first learn how to build dynamic Web sites by reading Part 6 of this book.)

The top portion of the Tag inspector displays a “tree view” of the HTML in a page. In essence, it shows the arrangement of tags as they nest within the code of a page. At the top is the opening <html> ...

Get Dreamweaver MX: The Missing Manual now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.