简体   繁体   中英

Why does my html file not show up in Chrome?

So I started learning HTML today and the first file I coded does not come up in Chrome after being formatted. This is what the code looks like:

<!DOCTYPE html>

<html>

<head>

  <title>Nikolay's Website</title>

</head>

<body>

</body>

</html>

And after I tried opening the file, which is of type "Chrome HTML Document" btw (thought it might help as info), it shows a blank page with no heading. Even if I remove the code and type "Hello World" it would still show a blank page in my browser.

HTML page should have the following default structure. Please refer this link https://www.w3schools.com/html/default.asp

 <!DOCTYPE html> <html> <head> <title>Nikolay's Website</title> </head> <body> Hello World </body> </html>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM