# 选择合适的图层

## 图层选择

图层选择功能可帮助您选择网站的合适构成要素。

例如，如果您想选择整个横幅（包括其中的文本），请在图层选择栏中选择中间的 div。

所选元素上会覆盖浅绿色背景，请确认您选择了正确的元素。

只需点击图层选择栏中的元素名称即可选择元素。

上述内容的网站结构如下图所示。

## **何时应使用图层选择功能？**

**编辑横幅链接**

如果点击图像后只显示"更改图像"，则无法编辑链接。

在这种情况下，可以从图层选择栏中选择"a 标签"编辑。

**操作难以选择的元素**

如果存在无法通过直接点击选择的元素（如整个红框），请利用图层选择功能。

使用图层选择栏，您可以确定地选择看起来重叠的容器等。

**添加新内容**

即使没有 HTML 知识，当您想向页面添加新元素时，它也很有用。

例如，如果中央的 div 是父级图层，您可以选择它并在其之后立即添加新内容。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helps.ptengine.com/cn/experience/campaign/create-new/notes-layer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
