Skip to content
Advertisement

How to display a dynamic text any where on a html page

How do i display a text anywhere on a html page

I want to achieve something like this

Example

{{title}} // there will be more than one like this one

If something like this is available anywhere on the page it should display ​”This is the title” ​so if i change the “This is the title” the {{title}} should also change

I know don’t know much about this but i guess this is possible with javascript

Advertisement

Answer

HTML

JavaScript

JS

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement