We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to embed an image, video, or webpage using HTML in Label Widget?

This section explains about how to embed the image, video, and webpage in a label widget using HTML.

Step 1: Drag and drop the label widget into the Dashboard Designer Layout.

Step 2: Click the edit button of the label widget, and add the needed HTML code. An image can be added using “img” tag, and webpages and videos can be embedded by using the “iframe” tag with proper size settings. The “src” attribute is needed while using these tags. You can assign the image, video, or URL link of a webpage to “src” attribute. You can also customize the iframe by using the style properties.

Sample HTML


Step 3: Align the contents using the user interface options, if needed.

Designer view:

Step 4: Click Apply and select the Preview in the Dashboard Designer. The dashboard preview will show the expected visualization.


Viewer Preview: Image with text embedded using “img” tag


Viewer Preview: Webpage embedded using “iframe” tag

Viewer Preview: Video embedded using “iframe” tag

Article ID: Published Date: Last Revised Date: Platform: Control:
8388 02/09/2018 02/12/2018 Dashboard Platform Dashboard Widgets
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon