Add HTML elements

You can add HTML elements to your documents in Design view by using the Element tool. The Element tool creates div elements by default, which then can be used as containers for other elements.

Element Tool Overview

To add an element:

  1. Click the Element  tool in the toolbar or press d.
  2. Select the element type from the tool options bar:
    •  div element
    •  img element (or amp-img for AMPHTML ads)
    •  video element (or amp-video for AMPHTML ads)
    •  custom element - Type the tag name in the Element field. The field autocompletes for HTML5 tags, which may not be valid tags for AMPHTML ads.
  3. Click and drag on the stage to position and size the new element.

To nest an element within another element:

  1. Click the Selection  tool in the toolbar.
  2. Double-click the desired parent element. The parent element becomes outlined in red, and can no longer be selected.
  3. Create a new child element. You can double-click the child element if you want to nest elements deeper.
  4. To navigate out of the parent element, use the Outliner or the breadcrumb links next to the page indicator .

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
13553079545101603341
true
Search Help Center
true
true
true
true
true
5050422
false
false