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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.