Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9129379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:43:59+00:00 2026-06-17T07:43:59+00:00

I am just starting out on my JavaScript tutorial and it says to test

  • 0

I am just starting out on my JavaScript tutorial and it says to test this simple script out. However, I get the wrong output.

Does anyone know what the problem is? I should be getting an alert dialogue box. I have tried the following code on Chrome and Safari web browsers:

<!DOCTYPE HTML>
<HTML>
    <HEAD>
        <TITLE>Template</TITLE>
    </HEAD>

    <BODY>

    <SCRIPT LANGUAGE = "Javascript">

        alert("Hello World");

    </SCRIPT>

    </BODY>
</HTML>

And the browser output I am getting is:

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0
Arial;}} {*\generator Msftedit
5.41.15.1515;}\viewkind4\uc1\pard\f0\fs20 \par \par \tab \par \tab\tab \par \tab \par \tab\par \tab \par \tab\tab\par \tab \par \par \tab
\par \par }

Please does anyone know what the problem is? Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:44:00+00:00Added an answer on June 17, 2026 at 7:44 am

    Sounds like you’re using an evil Windows product to write your code. Try using notepad instead. Long story short: you’re capturing hidden characters inserted by your editor.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just starting out, this should be a simple one but I haven't been able
I'm just starting out learning javascript, and tried to write a little script that
Just starting out with canvas and javascript and can't get my head around why
<p id=specialp>some content</p> <script> document.getElementById('specialp').onclick=alert('clicked'); </script> I'm just starting out with Javascript, and I
I'm just starting out with Knockout (and javascript for that matter). The problem is
I am just starting out on functions in PostgreSQL, and this is probably pretty
I'm just starting to learn Javascript; I do however have experience in programming using
On this JS MDN page it says this: JavaScript 1.8.1 note Starting in JavaScript
I'm just starting out with Paypal, so this is a newbie question. I've been
im just starting out with javascript so go ez on me. i have an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.