Hi,

How to get the correct output of this html file, without "removing or altering the existing lines in the given file"

filename: sample.html

<html >
    <head>
        <title>Test</title>
    </head>
    <body>
        <div>
            ¿Hola cómo está?
        </div>
    </body>
</html>

Describe 2 solutions to fix the problem and get the correct output in the browser: “¿Hola cómo está?”

Recommended Answers

What do you mean by correct output?

Jump to Post

All 3 Replies

What do you mean by correct output?

Hello how are you?

Add <meta http-equiv="content-type" content="text/html;charset=utf-8" />
in the head tag

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.