Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

closed How do I use a variable in html like I would in python( for instance in python it would be like v = variable)

+2 votes
asked Sep 20, 2022 by Ben Roberts (230 points)
closed Sep 27, 2022 by Ben Roberts
closed with the note: Answered

1 Answer

0 votes
answered Sep 23, 2022 by Peter Minarik (84,720 points)
HTML is a static content to be rendered by a browser. It does not have variables.

What are you trying to do?

PHP can be used to create dynamic web content. Or TypeScript (and JavaScript).
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...