Jump to content
Stef's Coding 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...