11 lines
531 B
Markdown
11 lines
531 B
Markdown
---
|
||
title: Turn an Image into a Link
|
||
localeTitle: 将图像转换为链接
|
||
---
|
||
## 将图像转换为链接
|
||
|
||
在之前的挑战中,您已经完成了将HTML元素嵌套到另一个中的任务(例如, [在段落中嵌套锚元素](https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph) )
|
||
|
||
现在要求您使用不同的标签解决相同的问题:只需将图像(按原样)放在锚元素中,它就会成为该锚点的可点击内容。
|
||
|
||
祝你好运! |