【发布时间】:2020-12-07 20:30:46
【问题描述】:
我正致力于在 HTML 中添加链接。但是当我点击文本时,它是不可点击的。就像添加链接之前一样。请帮忙!
<h2><font color = "red" face = "RDR Lino"><a href = "file:///G:/HTML/Project_HTML/info.html"><u>Weapons</font></u></a></h2>
<p> Have a look at the most detailed weapons at the ammunition. </p>
<center><img src="G:\HTML\Images\rdr2_1.png" alt="Weapons" height="5%" width="70%"/></center>
info.html 代码(保存在与上述html文件相同的文件夹中):-
<!DOCTYPE html>
<html>
<head>
<title> Information </title>
</head>
<body>
<h1> World of Red Dead Redemption II</h1>
</body>
</html>
【问题讨论】:
-
修复您的 HTML 结构 - 您的标签嵌套不正确。