+ 2

Hi ! When you open the file index.html it must lead you to chrome right? What to do when its only leading you to notepad?

6th Jul 2019, 1:13 PM
sisneedstolearn
sisneedstolearn - avatar
5 Respostas
+ 7
Heya No matter what's the name of file, if is extension ".html" then it should be automatically opened by your os as a webpage so by browser, usually by chrome as you mentioned If it does not, then click right on the file and click "open as" find your browser.. firefox, chrome, opera.. and set as default opener =)
6th Jul 2019, 1:19 PM
Krysto Foxik 🐥
Krysto Foxik 🐥 - avatar
+ 6
sisneedstolearn Yes, don't forget to include <!DOCTYPE html> At the start of your page index document
6th Jul 2019, 1:37 PM
Krysto Foxik 🐥
Krysto Foxik 🐥 - avatar
+ 2
Thank you !!!
6th Jul 2019, 1:21 PM
sisneedstolearn
sisneedstolearn - avatar
+ 2
ps .I shouldn't be seeing the <html> etc. Tags right?
6th Jul 2019, 1:33 PM
sisneedstolearn
sisneedstolearn - avatar
+ 1
Yaa if ur seeing tags on your browser while browsing ur webpage then it's has some mistakes...the basic structure to your web page is:- <!DOCTYPE HTMLl> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>My first</title> </head> <body> <div> <span>hello</span> </div> </body> </html> Remember each tag has its similar closing tag...if you don't place it at appropriately then u will see these tags on output or ur browser's screen😉😉 I hope to be usefull
11th Jul 2019, 9:37 AM
Yashvardhan
Yashvardhan - avatar