HTML
$\color{#9933ff}{Web应用-题解}$
题目描述:
通过状态:
$html$ $code:$
<!DOCTYPE html>
<html lang="en">
<head>
<title>homework_5</title>
</head>
<body>
<a href="/about.html">About</a>
<a href="https://www.acwing.com" target="_blank">
<img width="50" src="/images/logo.png" alt="logo">
</a>
</body>
</html>
补充:关于target属性:
属性值 含义
_blank 在新窗口打开被链接文档
_self(默认) 在相同的框架中打开被链接文档
_parent 在父框架中集中打开被链接文档
_top 在整个窗口中打开被链接文档
framename 在指定的框架中打开被链接文档