+ 2

I created an html document with the extension .html , I'm 100% sure that the documents was well written, but when I tried opening the document with my browser; I saw a series of meaningless characters which covered my screen. but my expected output was "I am loved by God"

HTML document

30th May 2016, 8:03 PM
Nwaburu Emeka Christian
Nwaburu Emeka Christian - avatar
12 odpowiedzi
+ 3
you would have to post your html for us to see what may have gone wrong. you also don't mention which browser and version you may have tested it in. Lastly, if you only expected to see one sentence then that would be a very short and easy to post html document for review.
31st May 2016, 4:10 AM
DevCoder (John Sullivan)
DevCoder (John Sullivan) - avatar
+ 3
The problem is your use of a word processor. NEVER do that. Use a text editor like Notepad or an advanced one like Sublime Text.
4th Jun 2016, 7:49 AM
ZinC
ZinC - avatar
+ 1
You didn't close you're head or body tags for a start, and I believe you have to place <! DOCTYPE html> at the top
31st May 2016, 11:28 AM
Matthew Devenish
Matthew Devenish - avatar
+ 1
just to be sure, copy your code at the clip board, open a new notepad (not word) from scratch and paste your code back there. save it as test.html, close it and then open it.
1st Jun 2016, 2:25 AM
JPRV
+ 1
bcoz it's HTML 5 start the code with: <!DOCTYPE html>.
2nd Jun 2016, 10:31 AM
Mohammad Fahad Sayed
Mohammad Fahad Sayed - avatar
0
<html> <head><title>Learn about God with Exellentemy</title></head> <body> <p>I am loved by God</p></body> </html>
31st May 2016, 7:23 AM
Nwaburu Emeka Christian
Nwaburu Emeka Christian - avatar
0
I tried it with Firefox, explorer, and opera mini
31st May 2016, 7:24 AM
Nwaburu Emeka Christian
Nwaburu Emeka Christian - avatar
0
i have tried the <!DOCTYPE HTML> tag, but same result. I used a word processor to type the code and saved it with html extension
2nd Jun 2016, 6:51 PM
Nwaburu Emeka Christian
Nwaburu Emeka Christian - avatar
0
<!DOCTYPE html> <html lang=en> <meta charset="UTF-8> <head><title>Learn about God with Exellentemy</title></head> <body> <p>I am loved by God</p></body> </html>
4th Jun 2016, 5:58 PM
LukaNyan
LukaNyan - avatar
0
use text editor like notepad
11th Jul 2016, 6:47 AM
ivan ayao
ivan ayao - avatar
0
use the notepad++ or dreamviewer..best platforms for create excellents webpages.
15th Jul 2016, 5:59 AM
Shani Patel
Shani Patel - avatar
- 3
hm...
31st May 2016, 5:42 AM
Игорь Аксютин
Игорь Аксютин - avatar