Dynamic Text Replacement for Landing Page



Hello, I just found out about this dynamic text replacement for landing page. Landing page creating sites like unbounce and instapage already implement it.

Lets say I manually create my landing page through HTML & CSS, do you guys have any idea on how I can implement this dynamix text replacement?

I found this youtube tutorial, but it doesn’t has default value for the dynamic text.