Insert tags and comments

Microsoft Expression Web enables you to quickly insert HTML comments and empty start or end tags, and many of the most commonly used HTML tags. In addition, you can use the following features to insert code:

  • Code snippets enable you to quickly insert a set of code that you've saved as a code snippet or a set that's provided by Expression Web. For more information, see Insert a code snippet.

  • IntelliSense enables you to look up and insert tags, properties, and values that are compatible at the current point in your code when you work in Code view. For more information see Use IntelliSense.

  • The Quick Tag Editor enables you to insert tags between or around another set of tags when you work in either the Design view or Code view of a web page. For more information, see Quick Tag Editor.

    Tip

    Nearly every feature for working in the Code view of a web page has an associated keyboard shortcut you can use for instance access. For more information, see the section entitled Code view shortcuts in Keyboard shortcuts.

To insert tag brackets or comments

  • In Code view, in your web page, put your cursor where you want to insert a start tag, end tag, or comment, and then do one of the following:

    • On the Edit menu, point to Code View, and then click Insert Start Tag, Insert End Tag, or Insert Comment.

    • On the Code View toolbar, click the Insert Start Tag button Cc295077.d26891b3-a3e1-4352-a653-26a41b9699f4(en-us,Expression.10).gif, Insert End Tag button Cc295077.81ec8ded-93d5-4230-85c2-616db137d2ea(en-us,Expression.10).gif, or Insert Comment button Cc295077.d53f8e2a-0b28-4d0e-b53d-97214b47edd8(en-us,Expression.10).gif.

To insert commonly-used HTML tags

  • In the Toolbox task pane, under HTML, drag the tag you want to the point that you want in your page.

    — Or —

  • Put your cursor where you want to insert a tag, and then do one of the following:

    • In the Toolbox task pane, under HTML, double-click the tag you want to insert.

    • On the Insert menu, point to HTML, and then click the tag you want.

See also

Concepts

Insert a code snippet

Select code

Quick Tag Editor

Use IntelliSense