HTML Link Opening in New Tab | Generated by AI

Home 2025.11

Here is the complete minimal HTML code to create a hyperlink to https://www.tsinghua.edu.cn that opens in a new tab/window:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Tsinghua University Link</title>
</head>
<body>
    <p>Visit <a href="https://www.tsinghua.edu.cn" target="_blank" rel="noopener noreferrer">Tsinghua University</a></p>
</body>
</html>

Key points:

You can copy and paste this code into an .html file and open it in any browser.


Back

x-ai/grok-4.1-fast

Donate