Jump to content
Killersites Community
Sign in to follow this  
webmanz

What is wrong with this simple code?

Recommended Posts

This did not open in my browser even though saved as html file.

 

<!DOCTYPE html>
<html lang="en">
<head>
     <meta charset="utf-8">
     <title>Javascript</title>
</head>
<body>
</body>
</html>

Share this post


Link to post
Share on other sites

Does it open with Editor ? You could try: Right click on .html file and Open With > Browser

But you just have tittle on it so it's gonna be a blank page with title on top saying Javascript.

Cheers

Share this post


Link to post
Share on other sites
4 hours ago, Toni said:

Does it open with Editor ? You could try: Right click on .html file and Open With > Browser

But you just have tittle on it so it's gonna be a blank page with title on top saying Javascript.

Cheers

I can right click on .html file from desktop, but problem is all I see is blank document, I don't see the title saying Javascript.

Share this post


Link to post
Share on other sites

What do you mean that you can't right click it 😮 What kind of OS are you using ?

How about trying to write an <h1> and see  if text shows up ?

What browser do you use ?

Share this post


Link to post
Share on other sites
On 10/24/2018 at 4:30 AM, Toni said:

What do you mean that you can't right click it 😮 What kind of OS are you using ?

How about trying to write an <h1> and see  if text shows up ?

What browser do you use ?

<h1> is working, you were right its a blank page with title, that's why I couldn't see anything. Thanks

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×