Bộ mã hóa/Giải mã thực thể HTML

Dán HTML hoặc văn bản thường, chọn mã hóa hoặc giải mã rồi sao chép kết quả. Hữu ích khi xây dựng đoạn mã, mẫu hoặc nội dung CMS phải hiển thị ký tự theo nghĩa đen.

Công thức
encode: & → &amp;, < → &lt;, > → &gt;, " → &quot;, apostrophe → &#39;

Câu hỏi thường gặp

Những ký tự nào nên mã hóa HTML?
Ít nhất hãy mã hóa ký tự & và dấu ngoặc nhọn, cộng dấu ngoặc kép bên trong thuộc tính; thực thể có tên và mã số cũng bao gồm ký tự có dấu và ký hiệu.

Embed this calculator on your site

Cite this page

About these results

Every calculation on this page runs locally in your browser using published, standard formulas — nothing you enter is sent to a server. Results are estimates for planning purposes and can differ from real-world conditions; always follow your local building code and the advice of a qualified professional for final decisions. You can read more about who builds and maintains these tools on our About page. Giới thiệu MateCalc.

Máy tính liên quan