-
Notifications
You must be signed in to change notification settings - Fork 12
Inserting Common HTML Tags
In order to insert common HTML Tags, such as div, span, article, aside etc. you need to switch to DOM Tree panel as App Structure panel is used to display only components. We will show you how add a span inside a button, then add some text and assign a class to it. First, select the button in design view, and click the DOM Tree button:
You will see your element highlighted in the tree:
Right click it, select Insert inside (1) and open the Styles and Semantics category (2):
Select span:
In the DOM Tree click on the span tag and in the Properties Inspector, in the Text field enter the content you want to show inside it:
Then add a class if you need to style it further. You can see your changes immediately in Design View:
This way you can add any common HTML Element directly in the DOM Tree.
© Wappler 2018
- Home
- Getting Started
- How-to Guides
- Project Manager
- Bootstrap 4 Visual Designer
- Image Galleries & Animations
-
Server-side Components
- Connecting to a Database
- Creating Database Queries
- Binding Data on the Page
- Formatting Dynamic Data
- Filter Data with Text Input
- Filter Data with URL Param
- Dynamic Select Menu
- Dynamic Sortable Table
- Dynamic Paging
- Server Side Includes (SSI)
- Insert Database Record
- Get Inserted Record ID
- Delete Database Record
- JSON Data Sources
- Send Form to Email
- Debugging Problems
- Security & Login
- Form & Data Validation
- Notifications & Alerts
- Mobile Apps