Applying HTML to a selection with the Quick Tag Editor
You can use the Quick Tag Editor to wrap the current selection with opening and closing HTML tags.
To apply HTML to a selection with the Quick Tag Editor:
- Select unformatted text or an object in Design view.
NOTE
|
|
If you select text or an object that includes an opening or closing HTML tag, the Quick Tag Editor opens in Edit Tag mode instead of Wrap Tag mode.
|
- Press Control+T (Windows) or Command+T (Macintosh), or click the Quick Tag Editor button in the Property inspector.
The Quick Tag Editor opens in Wrap Tag mode.
- Enter a single opening tag, such as strong, and press Enter (Windows) or Return (Macintosh).
The tag is inserted at the beginning of the current selection, and a matching closing tag is inserted at the end.
- To exit without making any changes, instead of pressing Enter, press Escape.
Related topics
- Inserting an HTML tag with the Quick Tag Editor
- Editing an HTML tag with the Quick Tag Editor
- Using the hints menu in the Quick Tag Editor
- Setting the Quick Tag Editor options