# Add Q\&A sections to blog post

1. Để thêm Q\&A section vào bài post và thêm code Q\&A  HTML vào bài viết, tham khảo hình ảnh bên dưới

<figure><img src="/files/MI5HGAjFttNNipQAmpVT" alt=""><figcaption></figcaption></figure>

2. Sau đó thêm code Q\&A dưới đây:&#x20;

Mỗi đoạn code phía dưới là 1 Question Answer.

Thay thế **Question 1** bằng nội dung Question và **Answer 1** bằng nội dung Answer

```html
<div class="faq-question">
	<div class="r-question">
	        <h4 class="r-title-question">Question 1</h4>
	        	<span class="r-icon">
	        		<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="r-plus">
		        		<path fill="currentColor" d="M0 7H16V9H0z"></path><path transform="rotate(-90 7 16)" fill="currentColor" d="M7 16H23V18H7z"></path>
		        	</svg>
		        
	        		<svg width="16" height="16" viewBox="0 0 17 2" fill="none" xmlns="http://www.w3.org/2000/svg" class="r-minus"><path fill="currentColor" d="M0.5 0H16.5V2H0.5z"></path></svg>
		        </span>
	</div>
		  
	<div class="r-answer">
		<p>Answer 1</p>
	</div>
</div>
```

<figure><img src="/files/jZ2cpXw70ykM22315ptI" alt=""><figcaption></figcaption></figure>

Có thể paste thêm code xuống dưới của **HTML Embed Code Editor** popup để thêm Q\&A mới

<figure><img src="/files/5pb3PTdyk2Jbg9wjN9Hq" alt=""><figcaption><p>Demo</p></figcaption></figure>


---

# 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://docs.duongtuyen.club/my-work/ryviu-blog/add-q-and-a-sections-to-blog-post.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.
