Back
Syntax
Study
Editor
Mode:
HTML
CSS
JavaScript
PHP
Reset
Run »
HTML / CSS / JS
<!DOCTYPE html> <html lang="en"> <head> <!-- MUST be first in <head>, before <title> --> <meta charset="UTF-8"> <!-- Standard responsive viewport --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Charset & Viewport</title> </head> <body> <p>This page uses UTF-8 encoding, so it can display: Japanese: 日本語, Arabic: العربية, Emoji: 🌍 </p> <p>And it responds correctly to the device screen width.</p> <!-- AVOID this — it prevents user zooming: <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> --> </body> </html>
Result
Open