Html source to String | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Html source to String

Hi, how can i get entire html source code to string? The page just have a few lines.

19th Jan 2019, 1:15 PM
Joรฃo Duarte
Joรฃo Duarte - avatar
5 Answers
+ 5
If you need programmaticaly read html file from your hd, then javascript won't help. Use php, java or node.js
21st Jan 2019, 9:02 AM
ะะปะตะบัะตะน ะ .
ะะปะตะบัะตะน ะ . - avatar
19th Jan 2019, 1:53 PM
ะะปะตะบัะตะน ะ .
ะะปะตะบัะตะน ะ . - avatar
+ 3
I do not quite understand what the problem is. If you need proper rendering of html code, you can just copy code to string like this https://code.sololearn.com/W2SQBgmAV67M/?ref=app
21st Jan 2019, 9:00 AM
ะะปะตะบัะตะน ะ .
ะะปะตะบัะตะน ะ . - avatar
+ 2
I want to get other html page not page loaded. I have index.html and want to load demo.html to string to use it in index.html.
21st Jan 2019, 8:16 AM
Joรฃo Duarte
Joรฃo Duarte - avatar
+ 2
Ok thx
21st Jan 2019, 3:58 PM
Joรฃo Duarte
Joรฃo Duarte - avatar