---
id: 587d7788367417b2b2512aa3
challengeType: 0
videoUrl: 'https://scrimba.com/c/crVrDh8'
forumTopicId: 301022
title: 使用 footer 元素使屏幕阅读器更容易导航
---
## Description
与header
和nav
类似,footer
也具有语义化特性,可以使辅助设备快速定位到它。它位于页面底部,用于呈现版权信息或者相关文档链接。
## Instructions
Camper Cat 的忍者训练页面进展顺利。请将他在页面底部呈现版权信息的div
标签更改为footer
标签。
## Tests
```yml
tests:
- text: '你的代码中应该包含 1 个footer
标签。'
testString: assert($('footer').length == 1);
- text: '你的代码中不应包含div
标签。'
testString: assert($('div').length == 0);
- text: '你代码中的footer
应该是闭合的。'
testString: assert(code.match(/
## Challenge Seed
```html
Stealth & Agility Training
Climb foliage quickly using a minimum spanning tree approach
No training is NP-complete without parkour
Combat Training
Dispatch multiple enemies with multithreaded tactics
Goodbye world: 5 proven ways to knock out an opponent
Weapons Training
Swords: the best tool to literally divide and conquer
Breadth-first or depth-first in multi-weapon training?
© 2018 Camper Cat
```
## Solution
```html
// solution required
```