F12 Developer Tools - Internet Explorer | UA - User Agents

Standards Based Development

ie F12 Developer Tools Keyboard Shortcuts Reference

F12 Developer Tools shortcuts keys are listed below by feature set:

Developer Tools Menu Bar Shortcut Keys

The following shortcut keys can be accessed at any time while the F12 tools are open.

Differences between Windows Internet Explorer 8 and Internet Explorer 9 are noted.

ActionShortcut Keys
Open/Close Developer ToolsF12
Resize to 800x600Ctrl+Shift+1
Resize to 1024x768Ctrl+Shift+2
Resize to 1280x768Ctrl+Shift+3
Resize to 1280x1024Ctrl+Shift+4
Switch to Quirks modeAlt+Q
Switch to Internet Explorer 7 Standards modeAlt+7
Switch to Internet Explorer 8 Standards modeAlt+8
Switch to Internet Explorer 9 Standards mode (Internet Explorer 9 only)Alt+9
Switch to (page default) modeAlt+D
Clear Browser CacheCtrl+R
Clear Browser Cache for This DomainCtrl+D
Select Element by ClickCtrl+B
View Class and ID InformationCtrl+I
View DOM (Element+Styles)Ctrl+T
View DOM (Page) (Internet Explorer 8 only)Ctrl+G
Show/Hide Color Picker (Toggle)Ctrl+K
Show/Hide Ruler (Toggle)Ctrl+L
Minimize/Maximize (Toggle) (Internet Explorer 8 only)Ctrl+M
Outline Any ElementCtrl+O
Clear Outlines (Internet Explorer 8 only)Ctrl+Shift+O
Pin/Unpin (Toggle)Ctrl+P
Help (Internet Explorer 9 only)F1

Jump-To Tab Shortcut Keys

The following shortcut keys can be accessed at any time while the F12 tools are open.

ActionInternet Explorer 8 Shortcut KeysInternet Explorer 9 Shortcut Keys
Select HTML TabCtrl+1Ctrl+1
Select CSS TabCtrl+2Ctrl+2
Select Console Tab (Internet Explorer 9 only)n/aCtrl+3
Select Script TabCtrl+3Ctrl+4
Select Profiler TabCtrl+4Ctrl+5
Select Network Tab (Internet Explorer 9 only)n/aCtrl+6

HTML Tab Toolbar Shortcut Keys

The following shortcut keys can be accessed under the HTML tab.

ActionShortcut Keys
Make value editableF2
RefreshF5
Select Element by ClickCtrl+B
Edit ModeAlt+E
Clear Browser CacheCtrl+R
SaveCtrl+S
View element source with styleCtrl+T
Add AttributeCtrl+Plus Sign
Expand all beneath this three node. This only works with the number's keypad symbol keys.Alt+*
Collapse all beneath this three node. This only works with the number's keypad symbol keys.Alt+-

CSS Tab Toolbar Shortcut Keys

The following shortcut keys can be accessed under the CSS tab. Differences between Internet Explorer 8 and Internet Explorer 9 are noted.

ActionShortcut Keys
Make value editableF2
Select Element by ClickCtrl+B
File chooser (Internet Explorer 8 only)Ctrl+F
Clear Browser CacheCtrl+R
SaveCtrl+S
Add CSS property while focus is on a propertyCtrl+Plus Sign
Expand all beneath this three node. This only works with the number's keypad symbol keys.Alt+*
Collapse all beneath this three node. This only works with the number's keypad symbol keys.Alt+-
Increment selected value (Internet Explorer 9 only)Up arrow
Decrement selected value (Internet Explorer 9 only)Down arrow

Console Tab Shortcut Keys For Debugger Mode

The following shortcut keys work under the Console tab.

Note: console tab is only available in Internet Explorer version 9 and up.

ActionShortcut Keys
Clear browser cacheCtrl+R
Clear browser cache for this domainCtrl+D
Run script (Single line mode)Return
Run script (Multi-line mode)Ctrl+Return
Toggle between single and multi-line modeCtrl+Alt+M

Script Tab Shortcut Keys For Debugger Mode

The following shortcut keys work under the Script tab. To work, script debugging does not have to start for these shortcut keys. However, some debugging features are disabled when debugging is not started, and pressing these shortcut keys will yield no results.

ActionShortcut Keys
Start debugging or continueF5
Stop debuggingShift+F5
Step overF10
Step intoF11
Step outShift+F11
Break allCtrl+Shift+B
Break on Error - toggle on/offCtrl+Shift+E
Toggle Breakpoints - set/unsetF9
Set breakpoint ConditionAlt+F9
Enable/Disable breakpointsCtrl+F9
Delete all breakpointsCtrl+Shift+F9
Go to Breakpoint windowCtrl+Alt+B
Go to Locals windowCtrl+Alt+L (or V)
Go to Watch windowCtrl+Alt+W
Go to Call Stack windowCtrl+Alt+C
Go to Console windowCtrl+Alt+I
Console - Run script (in single-line mode)Return
Console - Run script (in multi-line mode)Ctrl+Return
Console - toggle between single-line and multi-line modeCtrl+Alt+M
Go to Script chooser dropdownCtrl+Alt+N
Next function on StackCtrl+Period
Previous function on StackCtrl+Comma
Go to specific line number (Internet Explorer 9 only)Ctrl+G

Profiler Tab Toolbar Shortcut Keys

The following shortcut keys work under the Profiler tab.

ActionShortcut Keys
Start ProfilingF5
Stop ProfilingShift+F5

Network Tab Toolbar Shortcut Keys

The following shortcut keys work under the Network tab.

ActionShortcut Keys
Start CapturingF5
Stop CapturingShift+F5

Search Shortcut Keys

The following shortcut keys can be accessed to do Search.

ActionShortcut Keys
Move focus to Search BoxCtrl+E
Next matchF3
Previous matchShift+F3

Developer Tools Keyboard Shortcuts Reference

F12 Developer Tools in ie10

\
Navigating the F12 Developer Tools
Element nameDescription
Menu barLists command menus that can be accessed at any time regardless of the selected View. The Menu bar persists on the screen even when the F12 tools interface is pinned to the Windows Internet Explorer window.
ViewsProvides a list of views to select for your page. Selecting a view, such as HTML or CSS tab also changes the toolbar for this selected tab.
View toolbarProvides commands and tools that are specific to the current view.
Main view paneThe left pane is the main view for all views. It displays views of your page's HTML source code, Cascading Style Sheets (CSS), console messages, script source, profile or network reports.
Details paneThis pane displays details for the current tab (HTML, CSS, Script, and Network views). Depending on the current view, the divider between the two panes can be moved to resize each pane. For Console and Profiler tools, there are no separate detail panes.
Detail viewsDepending on the current tab, you can select the type of details to see.
File chooserWhen in Script view, this button displays a drop-down list of all files and dynamic scripts associated with the page. When in CSS view, it displays only the CSS files.
F12 Tools HTML Tab Toolbar with Labels

ie10 F12 Tools Screen
Command nameDescription
Select element by click (Ctrl+B) Select element with click buttonLets you quickly find the source for an element on the current webpage. Click this button and then click the element on the webpage. The element is outlined on the webpage, and the element's source is highlighted in the left pane. The details view shows style, trace style, layout, or attribute information about the selected element. This button is available on all views.
Clear browser cache... (Ctrl+R) Clear browser cache buttonClear the browser cache to get fresh page content from the server at next refresh. This button is available on all views.
Save HTML (Ctrl+S) Save buttonOpens the Save As dialog box to save the source displayed in the HTML view. The file is saved in a .txt file format to prevent writing over the original source file.
Refresh (F5) Refresh buttonRefresh the content in the HTML view to its default state. The Refresh button has no effect when Edit mode is on.
Element source with style (Ctrl+T) Element source with style Displays a new window with the selected element's HTML source and CSS styles with nested element structure. Before using this command, select an element in the body of the document either from the HTML view, or using Select element by click. This is a shortcut to the same command found in the View/Source command menu.
Edit (Alt+E) Edit buttonEdit the current HTML file in the HTML view. This source is the internal representation that Internet Explorer uses to render the page. To wrap long lines of text, click Word Wrap. To see the results of your changes, click the edit button again. This switches out of the Edit mode and refreshes the page to reflect any new changes.
Word Wrap (Alt+W) Word wrap buttonWraps long lines within the HTML view when you're in Edit mode. Otherwise, this command is disabled.
F12 Tools IE10 HTML View Toolbar

F12 Tools ie10 html View Toolbar
Command nameDescription
Select element by click (Ctrl+B) Select element with click buttonLets you quickly find the source for an element on the current webpage. Click this button and then click the element on the webpage. The element is outlined on the webpage, and the element's source is highlighted in the left pane. The details view shows style, trace style, layout, or attribute information about the selected element. This button is available on all views.
Clear browser cache... (Ctrl+R) Clear browser cache buttonClear the browser cache to get fresh page content from the server at next refresh. This button is available on all views.
Save HTML (Ctrl+S) Save buttonOpens the Save As dialog box to save the source displayed in the HTML view. The file is saved in a .txt file format to prevent writing over the original source file.
Refresh (F5) Refresh buttonRefresh the content in the HTML view to its default state. The Refresh button has no effect when Edit mode is on.
Element source with style (Ctrl+T) Element source with style Displays a new window with the selected element's HTML source and CSS styles with nested element structure. Before using this command, select an element in the body of the document either from the HTML view, or using Select element by click. This is a shortcut to the same command found in the View/Source command menu.
Edit (Alt+E) Edit buttonEdit the current HTML file in the HTML view. This source is the internal representation that Internet Explorer uses to render the page. To wrap long lines of text, click Word Wrap. To see the results of your changes, click the edit button again. This switches out of the Edit mode and refreshes the page to reflect any new changes.
Word Wrap (Alt+W) Word wrap buttonWraps long lines within the HTML view when you're in Edit mode. Otherwise, this command is disabled.
F12 Tools IE10 CSS Tab Toolbar

Navigating the F12 Developers Tools Interface

F12 Tools ie10 html View Toolbar
Command nameDescription
Select element by click (Ctrl+B) Select element with click buttonLets you quickly find the source for an element on the current webpage. Click this button and then click the element on the webpage. The left pane switches to the HTML view, and highlights the element source. The details view shows style, trace style, layout, or attribute information about the selected element.
Clear browser Cache... (Ctrl+R) Clear browser cache buttonClear the browser cache to get fresh page content from the server at next refresh.
Save CSS (Ctrl+S) Save buttonOpens the Save As dialog box to save the source displayed in the CSS view. The file is saved in a .txt file format to prevent over writing the original source file.
View stylesOpens a drop-down list to switch between all external style sheet files that are associated with the current webpage.

Console Tab

The F12 tools console tab offers a full width view of the same information you see in Script view, where you see the Console view in the right pane. You can receive error messages from Internet Explorer, as well as send your own messages back from your code without having to break the flow of your execution.

You can also use the F12 toolsConsole view to immediately run script statements outside your program code.

Command nameDescription
Select element by click (Ctrl+B) Select element with click button

Lets you quickly find the source for an element on the current webpage. Click this button and then click the element on the webpage. The left pane switches to the HTML view, and highlights the element source. The details pain displays Style, Trace Styles, Layout, or Attribute information about the selected element.

Clear browser Cache... (Ctrl+R) Clear browser cache buttonClear the browser cache to get fresh page content from the server at the next refresh.

F12 Developers Tools ie10 Script Tab Toolbar

Command nameDescription
Select element by click (Ctrl+B) Select element with click buttonLets you quickly find the source for an element on the current webpage. Click this button and then click the element on the webpage. The left pane switches to the HTML view, and highlights the element source. The details pain displays Style, Trace Styles, Layout, or Attribute information about the selected element.
Clear browser Cache... (Ctrl+R) Clear browser cache buttonClear the browser cache to get fresh page content from the server at the next refresh.
Continue (F5) 'continue' buttonContinues running script without pausing, until another breakpoint or script error is hit.
Break All (Ctrl + Shift + B) 'Break All' buttonPauses execution immediately before the next script statement is to be executed.
Step Into (F11) 'Step Into' buttonExecutes the next line of script and pauses, even if the next line is inside a new function.
Step Over (F10) Step Over buttonContinues until the next line of script in the current function, and then pauses. Useful for stepping over function calls.
Step Out (Shift + F11) Step Out buttonContinues executing script until the next line in the calling function . This command is helpful to return to the point where the current function was called.
Configuration (Ctrl + Alt + 0) Configuration button

Displays a drop-down list of the following settings:

  • Break on uncaught exception (Ctrl+Shift+E) - Breaks if the script throws an exception that isn't within a try/catch structure.
  • Break on caught exception - Breaks execution if a script throws an exception that is within a try/catch structure.
  • Continue after exception - Effectively ignores an exception and continues to the next line in the current scope, rather than stopping.
  • Word wrap Alt+W - wraps long lines of source code to the width of the left pane.
  • Format JavaScript - breaks up javascript code that has had unnecessary characters removed (minified) into a more readable format.
Start debuggingClick button to start debugging. Click again to stop debugging. The debugger control is enabled after Start debugging is clicked and disabled after debugging has stopped. If F12 tools is pinned to the browser window, it opens in its own window when debugging starts. When you stop debugging, you must re-pin F12 tools manually.
Script Chooser Click to display a list of external scripts associated with this webpage to show in the Script view pane.

References and Resources