+ 1

Html

how can I open my html on google

22nd May 2020, 2:54 AM
Bana Na
5 Antworten
+ 1
Create the file in a editor of text with the follow steps: <!DOCTYPE html> <html> <head> </head> <body> <h1>Write a tittle</h1> <p>Write a paragraph</p> </body> </html> Later the file save as index.html For end open the file with Google Chrome or Firefox.
22nd May 2020, 3:05 AM
Josshual A. Toro M.
Josshual A. Toro M. - avatar
+ 1
It is just using good practice. Most text editors like Atom, Sublime Text or Visual Studio Code place it automatically. But if you start with <html> and close with </html> the page will work correctly.
22nd May 2020, 3:38 AM
Josshual A. Toro M.
Josshual A. Toro M. - avatar
+ 1
If you are using a computer then you can use notepad to write the code, then save it and open it with google chrome.
22nd May 2020, 8:04 AM
Pranav
Pranav - avatar
0
Question: Why is the <!DOCTYPE html> needed? Can you please explain why it can't just start with <html> and end with </html> Please explain --> I'm new! Thank you.
22nd May 2020, 3:21 AM
Codian
Codian - avatar
0
if you can use android, if you can how
22nd May 2020, 1:44 PM
Bana Na