please how do I run my html code on the browser of my phone. I don't know how. some one should answer me please. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

please how do I run my html code on the browser of my phone. I don't know how. some one should answer me please.

30th Jun 2016, 9:19 AM
Dan-Awoh Emmanuel
Dan-Awoh Emmanuel - avatar
11 Answers
+ 3
Emmanuel, just save it. If you use your phone to type it, you can go through your file manager and change the name of the text you saved from page.txt to page.html. If you used your system, just send it to your phone and open with your browser. Even old Symbian phones did read it. Try it and let me know what's up.
30th Jun 2016, 12:24 PM
Daniel Chukwuji
Daniel Chukwuji - avatar
+ 1
it's just easy open the html file in html viewer
30th Jun 2016, 9:22 AM
Mohammed Zameeruddin
Mohammed Zameeruddin - avatar
+ 1
save your code give it a name and after you name it save it as .html and open the html file so the code is turned to a web page
30th Jun 2016, 10:09 AM
Phew phew
Phew phew - avatar
+ 1
Its similar to PC. Just save it as .html file and open it with a browser(Chrome is sugested)
30th Jun 2016, 4:37 PM
DanI MicraS
DanI MicraS - avatar
+ 1
thanks guys. but it didn't work out. I saved the codes with .html and tried to run it. nothing came up. simple codes. so phone browsers are not good rest grounds.
30th Jun 2016, 11:07 PM
Dan-Awoh Emmanuel
Dan-Awoh Emmanuel - avatar
+ 1
Emmanuel what's up. I just tried doing this now and it still does work. Can you confirm that your file !manager changed the .txt to .html? You could also post up the short code here for us to look through. Hopefully, we would see what the issue is. Besides, if it saved as .html, what happened when you tried to open the file? Did it open and show you gibberish or you could not open it at all?
1st Jul 2016, 2:08 AM
Daniel Chukwuji
Daniel Chukwuji - avatar
0
and also in this app there's code playground you can run in that also
30th Jun 2016, 9:23 AM
Mohammed Zameeruddin
Mohammed Zameeruddin - avatar
0
u can't u just have to run it on the app
30th Jun 2016, 11:43 AM
Ahmed Magaji
Ahmed Magaji - avatar
0
create a folder, move all files related with html to the folder like audio, video and .txt files. Download and install iwriter, write you code and save it, then rename it ".html". I suggest you for Firefox like browser. if you can't find path of a file i.e src="abc/idontknow.mp4". go to the details of file, you can see there a path of file then you can write in src="path.mp4"
30th Jun 2016, 5:29 PM
Kapil Bagde
Kapil Bagde - avatar
0
Dan a friend of mine told me that it wasn't working because my browsers use XHTML. he said it was a code for devices other than laptops. but all the same I will type out the code so that guys can look it up. thanks.
1st Jul 2016, 2:38 AM
Dan-Awoh Emmanuel
Dan-Awoh Emmanuel - avatar
0
the file format should be .html and try to use the solid explorer when you using the solid explorer tap and hold your file then the tap the three icon and then tap open with and tap the icon beside "open file using..." when you tap on it select any and then find your browser and select it.
9th Aug 2016, 6:13 AM
Mahdi
Mahdi - avatar