How can I display a string at any x and y coordinated position of a webpage? Using only JavaScript, unless I have to have the text already included in the HTML and then hide or reveal it using javascript? I can already do that but I can't use x and y values and it's not what I want. Everything is input dependant.
I don't want to use JQuery or any such. And I would also like to use % for height and width positions.
I want like this demo http://oldstatic.travisberry.com/demos/canvas-text-demo/index.html
It comes from here http://www.travisberry.com/2011/05/write-text-anywhere-with-html5-canvas/
But I want JavaScript solution, not HTML.
Imagine this is the only HTML.
<html>
<body>
</body>
</html>