Oracle® Universal Content Management 10g Release 4 (10.1.4) |
![]() Contents |
![]() Index |
![]() Previous |
![]() Next |
Site Studio Designer Guide > Getting Started With Designer > Workspace > Source View
Source view displays the code that is in the content file associated with a site asset: HTML, XML, JavaScript, Idoc Script, Site Studio tags, and so on.
The information in source view is displayed as color-coded text:
Black is used for XML code, HTML tag attributes, and text that appears on the web page.
Purple is used for HTML tags.
Blue is used for HTML tag attribute values.
Green is used for Idoc Script, HTML comments, and code inserted by Site Studio.
You can change many of these settings, including the typeface, indentation levels, and line wrapping. See Formatting the Code in Source View for more information.
Source view offers complete control over the site template. If you do not like the way things look in design view, you can always switch to source view to control the exact behavior of the web page. In fact, you may find yourself starting off in design view (see Design View) to create the page and then switching to source view to customize the appearance and behavior of the page.
Most of the sections in this guide assume you are working in design view. source view instructions are included where appropriate.
You can edit the text in source view using common editing keystrokes (for example, Ctrl+C and Ctrl+V to copy and paste), the application toolbars (see Toolbars), and right-click menus (see Right-Click Menus). You can, for example, add site assets, images, tables, and line breaks as you work in source view.