# 通過創建貓咪相冊應用學習 HTML - 步驟 16

**URL:** <https://forum.freecodecamp.org/t/html-16/678542>\
**Category:** General\
**Tags:** chinese-中文\
**Created:** [March 11, 2024, 5:13am UTC](https://forum.freecodecamp.org/t/html-16/678542 "2024-03-11T05:13:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![707547](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/707547/32/313304_2.png) [@707547](https://forum.freecodecamp.org/u/707547)\
**Post date:** [March 11, 2024, 5:13am UTC](https://forum.freecodecamp.org/t/html-16/678542/1 "2024-03-11T05:13:07Z")

</div>

### 告訴我們發生了什麼：我不知道怎用

### 到目前爲止你的代碼

```html
<html>
  <body>

<!-- User Editable Region -->

    <main>
      <h1>CatPhotoApp</h1>

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
      <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

    <elementName>/

<!-- User Editable Region -->

  </body>
</html>

```

### 你的瀏覽器信息：

用戶代理是： `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36`

### 挑戰信息：

通過創建貓咪相冊應用學習 HTML - 步驟 16

> **[freeCodeCamp.org](https://www.freecodecamp.org/chinese-traditional/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-16)**
>
> 免費學習編程

---

<div class="post-metadata">

**Author:** ![miya](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/miya/32/417705_2.png) [@miya](https://forum.freecodecamp.org/u/miya)\
**Post date:** [March 11, 2024, 12:14pm UTC](https://forum.freecodecamp.org/t/html-16/678542/2 "2024-03-11T12:14:26Z")

</div>

题目要求：將你的 `h2` 元素、註釋、`p` 元素和錨點（`a` ）元素嵌套在一個 `section` 元素中。

也就是说添加一个 `<section></section>` 元素，包含这三个元素。

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 7, 2025, 2:20pm UTC](https://forum.freecodecamp.org/t/html-16/678542/3 "2025-01-07T14:20:09Z")

</div>

Closed on January 7, 2025, 2:20pm UTC


