用css和html做一个介绍电影指环王的复杂的静态网页
时间: 2023-12-07 20:38:42 浏览: 36
当然可以!以下是一个简单的示例,展示如何使用 HTML 和 CSS 创建一个介绍电影《指环王》的复杂静态网页:
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Lord of the Rings</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>The Lord of the Rings</h1>
<nav>
<ul>
<li><a href="#about">About</a></li>
<li><a href="#characters">Characters</a></li>
<li><a href="#trailer">Trailer</a></li>
</ul>
</nav>
</header>
<section id="about">
<h2>About</h2>
<p>The Lord of the Rings is a fantasy film series directed by Peter Jackson and based on the novels written by J.R.R. Tolkien. The story follows a hobbit named Frodo Baggins as he embarks on a perilous journey to destroy the One Ring and save Middle-earth.</p>
</section>
<section id="characters">
<h2>Characters</h2>
<ul>
<li>Frodo Baggins</li>
<li>Aragorn</li>
<li>Gandalf</li>
<li>Legolas</li>
<li>Gimli</li>
<li>Samwise Gamgee</li>
</ul>
</section>
<section id="trailer">
***