+ 2

Nothing showing in Browser .. please please help

in notepad ++ <html> <head> </head> <body> <script> Document.write("Hello World!"); </script> </body> </html> and then saved it as .html..... and tried run in every browsers. but nothing is showing...

27th Oct 2018, 11:46 AM
Mr. Nothing
Mr. Nothing - avatar
4 Réponses
+ 4
First of all, I have been inactive for a long period, so what I'm saying might be wrong. Isn't the "D" in "Document.write" supposed to be lowercase?
27th Oct 2018, 11:55 AM
Ibaadi Jaya
Ibaadi Jaya - avatar
+ 3
May be. let me try this
27th Oct 2018, 11:57 AM
Mr. Nothing
Mr. Nothing - avatar
+ 3
<!DOCTYPE html> <html> <head> <title>sololearn</title> </head> <body> <script> document.write("Welcome to sololearn ..!"); </script> </body> </html>
27th Oct 2018, 12:00 PM
onekpsc
+ 3
Ibaadi Jaya You were right Dear... a little Silly mistake. makes code worse.... Thank you.. now I'll be aware. ..
27th Oct 2018, 12:06 PM
Mr. Nothing
Mr. Nothing - avatar