HTMLHtmlElement: thuộc tính version

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

Note: Thuộc tính này đã được W3C tuyên bố là đã lỗi thời trong khuyến nghị kỹ thuật HTML 4.01, thay vào đó nên sử dụng DTD để lấy thông tin phiên bản cho một tài liệu.

Trả về thông tin phiên bản về định nghĩa kiểu tài liệu (DTD) của một tài liệu. Mặc dù thuộc tính này được Mozilla nhận diện, nhưng giá trị trả về của thuộc tính này luôn là một chuỗi rỗng.