Add a temporary bookmark to code
You can use the Code View toolbar or the Code View submenu on the Edit menu to temporarily bookmark particular locations in the code of a web page so that you can quickly return to those locations when you want to. Unlike HTML anchors (bookmarks) that a hyperlink can point to, code bookmarks only work in the Code view of a page while your web page is open in Microsoft Expression Web. When you close a web page, Expression Web deletes all code bookmarks from that page.
To help you identify code bookmarks, a colored rectangle with rounded edges appears to the left of each line of code that contains a code bookmark. You can change the color of that icon by using the Color Coding settings in the Page Editor Options dialog box. To see code bookmark icons in Code view, the Line numbers option must be selected on the General tab in the Page Editor Options dialog box. You can still add, remove, and navigate code bookmarks when the Line numbers option is cleared and the code bookmark icons are hidden.
Tip
Many features and commands you can use in the Code view of a page have keyboard shortcuts. For more information, see the section entitled "Code view shortcuts" in Keyboard shortcuts.
To add or remove a code bookmark
In Code view, place your cursor in the line where you want to add or remove a code bookmark and do one of the following:
On the Edit menu, point to Code View, and click Toggle Bookmark.
In the Code View toolbar, click Toggle Bookmark .
To remove all code bookmarks in a page
In Code view, do one of the following:
On the Edit menu, point to Code View, and click Clear Bookmarks.
In the Code View toolbar, click Clear Bookmarks .
To navigate code bookmarks
In Code view, do one of the following:
On the Edit menu, point to Code View, and select Next Bookmark or Previous Bookmark.
In the Code View toolbar, click Next Bookmark or Previous Bookmark .
To change the color of code bookmark icons
On the Tools menu, click Page Editor Options.
In the Page Editor Options dialog box, on the Color Coding tab, do the following:
****Code view settings ****Select to switch to code view settings.
****Display items ****Select Bookmarks.
****Item foreground ****Select a color.
See also
Tasks
Go to a specific line of code
Find and replace tags
Add or remove a bookmark (HTML anchor)
Reference
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.