User Guide Cancel

Work with text

  1. Dreamweaver User Guide
  2. Introduction
    1. Responsive web design basics
    2. What's new in Dreamweaver
    3. Web development using Dreamweaver - An Overview
    4. Dreamweaver / Common Questions
    5. Keyboard shortcuts
    6. Dreamweaver system requirements
    7. Feature summary
  3. Dreamweaver and Creative Cloud
    1. Synchronize Dreamweaver settings with Creative Cloud
    2. Creative Cloud Libraries in Dreamweaver
    3. Using Photoshop files in Dreamweaver
    4. Work with Adobe Animate and Dreamweaver
    5. Extract web-optimized SVG files from Libraries
  4. Dreamweaver workspaces and views
    1. The Dreamweaver workspace
    2. Optimize Dreamweaver workspace for visual development
    3. Search files based on filename or content | Mac OS
  5. Set up sites
    1. About Dreamweaver sites
    2. Set up a local version of your site
    3. Connect to a publishing server
    4. Set up a testing server
    5. Import and export Dreamweaver site settings
    6. Bring existing websites from a remote server to your local site root
    7. Accessibility features in Dreamweaver
    8. Advanced settings
    9. Set site preferences for transferring files
    10. Specify proxy server settings in Dreamweaver
    11. Synchronize Dreamweaver settings with Creative Cloud
    12. Using Git in Dreamweaver
  6. Manage files
    1. Create and open files
    2. Manage files and folders
    3. Getting and putting files to and from your server
    4. Check in and check out files
    5. Synchronize files
    6. Compare files for differences
    7. Cloak files and folders in your Dreamweaver site
    8. Enable Design Notes for Dreamweaver sites
    9. Preventing potential Gatekeeper exploit
  7. Layout and design
    1. Use visual aids for layout
    2. About using CSS to lay out your page
    3. Design responsive websites using Bootstrap
    4. Creating and using media queries in Dreamweaver
    5. Present content with tables
    6. Colors
    7. Responsive design using fluid grid layouts
    8. Extract in Dreamweaver
  8. CSS
    1. Understand Cascading Style Sheets
    2. Laying out pages using CSS Designer
    3. Using CSS preprocessors in Dreamweaver
    4. How to set CSS Style preferences in Dreamweaver
    5. Move CSS rules in Dreamweaver
    6. Convert inline CSS to a CSS rule in Dreamweaver
    7. Work with div tags
    8. Apply gradients to background
    9. Create and edit CSS3 transition effects in Dreamweaver
    10. Format code
  9. Page content and assets
    1. Set page properties
    2. Set CSS heading properties and CSS link properties
    3. Work with text
    4. Find and replace text, tags, and attributes
    5. DOM panel
    6. Edit in Live View
    7. Encoding documents in Dreamweaver
    8. Select and view elements in the Document window
    9. Set text properties in the Property inspector
    10. Spell check a web page
    11. Using horizontal rules in Dreamweaver
    12. Add and modify font combinations in Dreamweaver
    13. Work with assets
    14. Insert and update dates in Dreamweaver
    15. Create and manage favorite assets in Dreamweaver
    16. Insert and edit images in Dreamweaver
    17. Add media objects
    18. Adding videos in Dreamweaver
    19. Insert HTML5 video
    20. Insert SWF files
    21. Add audio effects
    22. Insert HTML5 audio in Dreamweaver
    23. Work with library items
    24. Using Arabic and Hebrew text in Dreamweaver
  10. Linking and navigation
    1. About linking and navigation
    2. Linking
    3. Image maps
    4. Troubleshoot links
  11. jQuery widgets and effects
    1. Use jQuery UI and mobile widgets in Dreamweaver
    2. Use jQuery effects in Dreamweaver
  12. Coding websites
    1. About coding in Dreamweaver
    2. Coding environment in Dreamweaver
    3. Set coding preferences
    4. Customize code coloring
    5. Write and edit code
    6. Code hinting and code completion
    7. Collapse and expand code
    8. Reuse code with snippets
    9. Lint code
    10. Optimize code
    11. Edit code in Design view
    12. Work with head content for pages
    13. Insert server-side includes in Dreamweaver
    14. Using tag libraries in Dreamweaver
    15. Importing custom tags into Dreamweaver
    16. Use JavaScript behaviors (general instructions)
    17. Apply built-in JavaScript behaviors
    18. About XML and XSLT
    19. Perform server-side XSL transformations in Dreamweaver
    20. Performing client-side XSL transformations in Dreamweaver
    21. Add character entities for XSLT in Dreamweaver
    22. Format code
  13. Cross-product workflows
    1. Installing and using extensions to Dreamweaver
    2. In-App updates in Dreamweaver
    3. Insert Microsoft Office documents in Dreamweaver (Windows only)
    4. Working with Fireworks and Dreamweaver
    5. Edit content in Dreamweaver sites using Contribute
    6. Dreamweaver-Business Catalyst integration
    7. Create personalized email campaigns
  14. Templates
    1. About Dreamweaver templates
    2. Recognizing templates and template-based documents
    3. Create a Dreamweaver template
    4. Create editable regions in templates
    5. Create repeating regions and tables in Dreamweaver
    6. Use optional regions in templates
    7. Define editable tag attributes in Dreamweaver
    8. How to create nested templates in Dreamweaver
    9. Edit, update, and delete templates
    10. Export and import xml content in Dreamweaver
    11. Apply or remove a template from an existing document
    12. Edit content in Dreamweaver templates
    13. Syntax rules for template tags in Dreamweaver
    14. Set highlighting preferences for template regions
    15. Benefits of using templates in Dreamweaver
  15. Mobile and multiscreen
    1. Create media queries
    2. Changing page orientation for mobile devices
    3. Create web apps for mobile devices using Dreamweaver
  16. Dynamic sites, pages and web forms
    1. Understand web applications
    2. Set up your computer for application development
    3. Troubleshoot database connections
    4. Removing connection scripts in Dreamweaver
    5. Design dynamic pages
    6. Dynamic content sources overview
    7. Define sources of dynamic content
    8. Add dynamic content to pages
    9. Changing dynamic content in Dreamweaver
    10. Display database records
    11. Provide and troubleshoot live data in Dreamweaver
    12. Add custom server behaviors in Dreamweaver
    13. Building forms using Dreamweaver
    14. Use forms to collect information from users
    15. Create and enable ColdFusion forms in Dreamweaver
    16. Create web forms
    17. Enhanced HTML5 support for form elements
    18. Develop a form using Dreamweaver
  17. Building applications visually
    1. Build master and detail pages in Dreamweaver
    2. Build search and results pages
    3. Build a record insert page
    4. Build an update record page in Dreamweaver
    5. Building record delete pages in Dreamweaver
    6. Use ASP commands to modify database in Dreamweaver
    7. Build a registration page
    8. Build a login page
    9. Build a page that only authorized users can access
    10. Securing folders in Coldfusion using Dreamweaver
    11. Using ColdFusion components in Dreamweaver
  18. Test, preview, and publish websites
    1. Preview pages
    2. Preview Dreamweaver web pages on multiple devices
    3. Test your Dreamweaver site
  19. Troubleshooting
    1. Fixed issues
    2. Known issues

 

 

Learn how add and format text in Live view, Code view, or by extracting text and the associated properties from PSD files.

Add text to a document

To add text to a Dreamweaver document, you can type text directly in the Document window, or you can cut and paste text. You can also import text from other documents.

When you paste text into a Dreamweaver document, you can use either the Paste or the Paste Special command. The Paste Special command lets you specify the format of pasted text in different ways. For example, if you wanted to paste text from a formatted Microsoft Word document into your Dreamweaver document, but wanted to strip out all of the formatting so that you could apply your own CSS style sheet to the pasted text, you could select the text in Word, copy it to your Clipboard, and use the Paste Special command to select the option that lets you paste text only.

When using the Paste command to paste text from other applications, you can set paste preferences as default options.

Note:

Control+V (Windows) and Command+V (Macintosh) always paste text only (no formatting) in Code view.

  1. Add text to your document by doing one of the following:
    • Extract text from your PSD compositions using the Extract panel. For detailed information, see Copy text from PSD files.
    • Type text directly into the Document window.
    • Copy text from another application, switch to Dreamweaver, position the insertion point in the Design view of the Document window, and select Edit > Paste or Edit > Paste Special.

    When you select Edit > Paste Special, you can select several paste formatting options.

    You can also paste text using the following keyboard shortcuts:

     

    Paste option

    Keyboard shortcut

    Paste

    Control+V (Windows)

    Command+V (Macintosh)

    Paste Special

    Control+Shift+V (Windows)

    Command+Shift+V (Macintosh)

     

Insert special characters

Certain special characters are represented in HTML by a name or a number, referred to as an entity. HTML includes entity names for characters such as the copyright symbol (©), the ampersand (&), and the registered-trademark symbol (®). Each entity has both a name (such as —) and a numeric equivalent (such as —).

Note:

HTML uses the angle brackets <> in its code, but you may need to express the special characters for greater than or less than without Dreamweaver interpreting them as code. In this case, use &gt; for greater than (>) and &lt; for less than (<).

Unfortunately, many older browsers don’t properly display many of the named entities.

  1. In the Document window, place the insertion point where you want to insert a special character.
  2. Do one of the following:
    • Select the name of the character from the Insert > HTML > Character.

    • In the HTML category of the Insert panel, click the Characters option and select the character from the pop-up menu.

    Note:

    There are many other special characters available; to select one of them, select Insert > HTML > Character > Other..., or click the Characters button in the HTML category of the Insert panel and select the Other Characters option. Select a character from the Insert Other Character dialog box, and click OK.

Add space between characters

HTML only allows for one space between characters; to add additional space in a document you must insert a non-breaking space. You can set a preference to automatically add non-breaking spaces in a document.

Insert a non-breaking space

  1. Do one of the following:
    • Select Insert > HTML > Special Characters > Non-Breaking Space.

    • Press Control+Shift+Spacebar (Windows) or Option+Spacebar (Macintosh).

    • From Insert panel, select HTML, click the Characters button and select the Non-Breaking Space option.

Set a preference to add non-breaking spaces

  1. Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh).
  2. In the General category make sure Allow Multiple Consecutive Spaces is checked.

Add paragraph spacing

Dreamweaver works similarly to many word processing application: you press Enter (Windows) or Return (Macintosh) to create a new paragraph. Web browsers automatically insert a blank line of space between paragraphs. You can add a single line of space between paragraphs by inserting a line break.

Add a paragraph return

  1. Press Enter (Windows) or Return (Macintosh).

Add a line break

  1. Do one of the following:
    • Press Shift+Enter (Windows) or Shift+Return (Macintosh).

    • Select Insert > HTML > Special Characters > Line Break.

    • From the Insert panel, select HTML, click the Characters button and select Line Break.

Create bulleted and numbered lists

You can create numbered (ordered) lists, bulleted (unordered) lists, and definition lists from existing text or from new text as you type in the Document window.

Definition lists do not use leading characters like bullet points or numbers and are often used in glossaries or descriptions. Lists can also be nested. Nested lists are lists that contain other lists. For example, you might want an ordered or bulleted list nested within another numbered or ordered list.

You use the List Properties dialog box to set the appearance of an entire list or for an individual list item. You can set number style, reset numbering, or set bullet style options for individual list items or for the entire list.

Create a new list

  1. In the Dreamweaver document, place the insertion point where you want to add a list, then do one of the following:
    • In the HTML Property inspector, click either Ordered List or List Item.

    • Select Insert > HTMl > and select the type of list desired - Unordered List (bulleted list), Ordered List (numbered list).

      The leading character for the specified list item appears in the Document window.

  2. Type the list item text, then press Enter (Windows) or Return (Macintosh) to create another list item.
  3. To complete the list, press Enter twice (Windows) or press Return twice (Macintosh).

Create a list using existing text

  1. Select a series of paragraphs to make into a list.
  2. Select Insert > HTML > Unordered List or Ordered List or List Item.

Create a nested list

  1. Select the list items that you want to nest.

  2. Right-click and select List > Indent.

    Dreamweaver indents the text and creates a separate list with the original list’s HTML attributes.

  3. Apply a new list type or style to the indented text by following the same procedure used above.

Set list properties for an entire list

  1. In the Document window, create at least one list item. The new style will automatically apply to additional items you add to the list.
  2. With the insertion point in the list item’s text, right-click and select List > Properties. The system displays the List Properties dialog box.

  3. Set the options you want to define the list:

    List Type

    Specifies list properties while List Item specifies an individual item in a list. Use the pop‑up menu to select a bulleted, numbered, directory, or menu list. Depending on the List Type you select different options appear in the dialog box.

    Style

    Determines the style of numbers or bullets used for a numbered or bulleted list. All items in the list will have this style unless you specify a new style for items within the list.

    Start Count

    Sets the value for the first item in a numbered list.

  4. Click OK to set the choices.

Set list properties for a list item

  1. In the Document window, place the insertion point in the text of a list item you want to affect
  2. Right-click and select List > Properties.

  3. Under List Item, set the options you want to define:

    New Style

    Specifies a style for the selected list item. Styles in the New Style menu are related to the type of list displayed in the List Type menu. For example, if the List Item menu displays Bulleted List, only bullet options are available in the New Style menu.

    Reset Count To

    Sets a specific number from which to number list item entries.

  4. Click OK to set the options.

Search for and replace text

For information on finding and replacing text, see Find and Replace text.

Define abbreviations and acronyms

HTML provides tags that let you define the abbreviations and acronyms you use in your page for search engines, spell checkers, language translation programs, or speech synthesizers. For example, you might want to specify that the abbreviation ME in your page stands for mechanical engineer, or the acronym WHO stands for World Health Organization.

  1. Select the abbreviation or acronym in the text of your page.
  2. Select Insert > HTML > Text Objects > Abbreviation, or Insert > HTML > Text Objects > Acronym.
  3. Enter the full text of the acronym or abbreviation.
  4. Enter the language, such as en for English, de for German, or it for Italian.

Set copy and paste preferences

You can set special paste preferences as default options when using Edit > Paste to paste text from other applications. For example, if you always want to paste text as text only, or text with basic formatting, you can set the default option in the Copy/Paste Preferences dialog box.

Note:

When you paste text into a Dreamweaver document, you can use either the Paste or the Paste Special command. The Paste Special command lets you specify the format of pasted text in different ways. For example, if you wanted to paste text from a formatted Microsoft Word document into your Dreamweaver document, but wanted to strip out all of the formatting so that you could apply your own CSS style sheet to the pasted text, you could select the text in Word, copy it to your Clipboard, and use the Paste Special command to select the option that lets you paste text only.

Note:

Preferences set in the Copy/Paste Preferences dialog box apply only to material pasted into Design view.

  1. Select Edit > Preferences (Windows) or Dreamweaver Preferences (Macintosh).
  2. Click the Copy/Paste category.
  3. Set the following options and click OK.

    Text Only

    Lets you paste unformatted text. If the original text is formatted, all formatting, including line breaks and paragraphs, will be removed.

    Text With Structure

    Lets you paste text that retains structure, but does not retain basic formatting. For example, you can paste text and retain the structure of paragraphs, lists, and tables, without retaining bold, italics, and other formatting.

    Text With Structure Plus Basic Formatting

    Lets you paste both structured and simple HTML-formatted text (e.g., paragraphs and tables, as well as text formatted with the b, i, u, strong, em, hr, abbr, or acronym tag).

    Text With Structure Plus Full Formatting

    Lets you paste text that retains all structure, HTML formatting, and CSS styles.

    Note:

    The Full Formatting option cannot retain CSS styles that come from an external style sheet, nor can it retain styles if the application from which you are pasting does not retain styles upon pasting to the Clipboard.

    Retain Line Breaks

    Lets you keep line breaks in pasted text. This option is disabled if you have selected Text Only.

    Clean Up Word Paragraph Spacing

    Select this option if you selected Text With Structure or Text With Structure Plus Basic Formatting, and want to eliminate extra space between paragraphs when you paste your text.

    Convert smart quotes to straight quotes Converts smart quotes to straight quotes.

 Adobe

Get help faster and easier

New user?