+ 5

How do you open html files on browser. And is there a way we can on phones?

Html

1st Jan 2019, 8:52 PM
Jane Ukuwrere
Jane Ukuwrere - avatar
28 Antworten
+ 2
Just go to your file manager specifically the storage medium; either internal or external, select the targeted html file and simply click on your preferred browser.
3rd Jan 2019, 12:02 AM
Adediji David
Adediji David - avatar
+ 8
💧Alex Tusinean🔥 *After coding html on "Note pad or any other text editor", save your code file with extension '. html' with any valid name and Tadaaaa
1st Jan 2019, 9:02 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 8
Oh , thank you. I will try it.✌(happy new year.)
1st Jan 2019, 9:03 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 7
When you save a html file with ". html" extension, whenever you open it, it will be default open by your browser, Same goes on mobile mobile browsers will automatically open html file on browser when you open them *You accidentally created 2 same question,If ypu delete one then it will help to prevent spam https://www.sololearn.com/Discuss/1642309/?ref=app
1st Jan 2019, 8:56 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 7
Files with extension .htm or .html should open by default in a web browser.
1st Jan 2019, 10:49 PM
Sonic
Sonic - avatar
+ 5
In android there are many applications in the playstore to have a test server in your cell phone. Even with php and mysql that you already decide whether to use it or not. Here you have one: https://play.google.com/store/apps/details?id=com.nokshaserv
2nd Jan 2019, 3:29 AM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 4
I make use of "dcoder" app for coding on my phone. When I save it, I simply go to my file manager. From there I can view the file using any browser on my phone
2nd Jan 2019, 11:33 AM
Israel Nwangwu
Israel Nwangwu - avatar
+ 3
Yes, you can you Acode app which is easy to use and code.
2nd Jan 2019, 3:08 AM
Tenzin Lama
Tenzin Lama - avatar
+ 3
Gbadamosi Kareem Adedeji You can read what you have written to it in terms of code but preview it as website without a webserver (at least a local one) I don't think it is possible. Although you could use some online parsers, I wouldn't rely on them. You can install Apache2 on your computer.
2nd Jan 2019, 2:41 PM
Nboumakis
+ 3
They can have JavaScript, which is actually a scripting language, and CSS. Whatever it is, it has to be client-side.
2nd Jan 2019, 3:02 PM
Nboumakis
+ 3
And a small correction: HTML is not a programming language but a Mark-up language.
2nd Jan 2019, 3:03 PM
Nboumakis
+ 3
Everybody has to begin and when we do we have a great deal to learn. I wish you good learning experience.
2nd Jan 2019, 3:07 PM
Nboumakis
+ 3
And welcome to Sololearn.
2nd Jan 2019, 3:07 PM
Nboumakis
+ 3
Install an http web server on your pc, then connect to it using any medium. On the devices without the server, use the server's ipaddress as a domain name and you can search and view test websites Good practice for responsive web design
3rd Jan 2019, 2:35 AM
Ambele Newton
Ambele Newton - avatar
+ 2
Okay. Thank you so much!
1st Jan 2019, 8:57 PM
Jane Ukuwrere
Jane Ukuwrere - avatar
+ 2
You write a HTML code, Alex.
1st Jan 2019, 9:00 PM
Jane Ukuwrere
Jane Ukuwrere - avatar
+ 1
Alright! Same to you.
1st Jan 2019, 9:07 PM
Jane Ukuwrere
Jane Ukuwrere - avatar
+ 1
Thank you so much everyone.
2nd Jan 2019, 12:50 PM
Jane Ukuwrere
Jane Ukuwrere - avatar
+ 1
Is there any way I can preview a php file without using a web server
2nd Jan 2019, 1:34 PM
Gbadamosi Kareem Adedeji
Gbadamosi Kareem Adedeji - avatar
+ 1
Thank you.
2nd Jan 2019, 2:57 PM
Jane Ukuwrere
Jane Ukuwrere - avatar