TgTaps Docs
  • TgTaps Documentation
    • Community
  • Blocks
    • Basic
      • Container
      • Block
      • Image
      • Copy button
      • HTML
      • Onboarding
    • Payments
      • Subscriptions list
    • Friends (referral system)
      • Invite friend button
      • Leaderboard
      • Claim friends bonus button
      • Friends list
    • Pages
      • Buy page button
      • Buy page card
      • Access page from date
    • Clicker game
      • Cards
      • Level reachment
      • Level progress
      • Click button
      • Energy progress
      • Farm button
    • Tasks
    • FAQ
    • TON
      • Connect TON wallet button
      • Send TON button
    • System blocks
      • Buy page dialog
    • Quizes
      • Quiz
      • Quiz completion
    • Daily bonus
  • Roulette
  • FEATURES
    • Rates
    • Navigation
    • Placeholders
    • Referrals statistics export
    • Custom value
    • Broadcast sending
    • Bot ownership transfer and token change
    • Head scripts
    • Pages
      • Paid pages
    • Levels
    • Payments
      • How to sell points?
  • Mini App Settings
    • Telegram messages
    • Referral system
    • Fonts
    • System icons
    • Analytics
  • Integrations
    • API keys
    • API methods
    • iFrame integrations
    • How to display UI fields from your API?
  • FAQ
    • How to fix "primary page is not configured"?
    • How to create gradient color or background?
    • How pages background works?
    • How to insert YouTube video in app?
    • How to add Play button to Telegram Bot?
  • Changelog
    • Changelog
Powered by GitBook
On this page
  • Example 1: custom div block
  • Example 2: iFrame
  1. Blocks
  2. Basic

HTML

PreviousCopy buttonNextOnboarding

Last updated 1 month ago

HTML block is used to integrate custom UI, CSS styles, external scrips (like Spotify, GitHub, analytics, etc.).

Important: HTML block is working only on the page it is placed. If you open and close the page, the HTML block is inserted each time. If you need to use some global scripts which executed once per application launch, you should use .

Example 1: custom div block

Example 2: iFrame

Let's take an example:

The iFrame code is:

<iframe
   src="https://app.tgtaps.com/"
   width="100%"
   height="100%"
   />

The result is:


You can integrate iFrame into HTML. Keep in mind: you should place HTML block into with full screen height and select 100% height for HTML block:

Something unclear in docs or you know how to improve article? We will answer you and then promise to improve the article within 3 days.

a container
Message us in community!
custom script