Head First休闲室,全新改良
给Lounge.html添加超链接,指向两个新页面。
在http://wickedlysmart.com/hfhtmlcss书的源代码文件里找到给的directions.html和elixir.html文件。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Head First Lounge</title>
</head>
<body>
<h1>Welcome to the New and Improved Head First Lounge</h1>
<img src="./images/drinks.gif">
<p>
Join us any evening for refreshing<a href="elixir.html">elixirs</a>,<!-- 要创建链接,需要用到<a>元素 -->
conversation and maybe a game or
two of <em>Dance Dance Revolution</em>.
Wireless access is always provided;
BYOWS (bring your own Web server).
</p>
<h2>Directions</h2>
<p>
You'll find us right in the center of downtown Webville.