Displaying text for html page

Hi

I want to display the text for webpage using html or javascript

can you please suggest
praveen1981Asked:
Who is Participating?
 
praveen1981Author Commented:
I did it by using the title tag , which solved the problem.

<title id ="t1" > ABC </title>

0
 
leakim971PluritechnicianCommented:
what about : document.getElementsByTagName("html")[0].innerHTML

alert( document.getElementsByTagName("html")[0].innerHTML ); // alert text of the page
0
 
praveen1981Author Commented:
this solved
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.