branch: externals/org
commit 35056268f890170ff9ca5e7505afabff0f362231
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>

    org-manual: Document that `org-html-table-default-attributes' is ignored 
for HTML5 export
    
    * doc/org-manual.org (Tables in HTML export): Add a paragraph
    explaining table attributes when document type is HTML5.
    
    Reported-by: Nikolaos Chatzikonstantinou <[email protected]>
    Link: https://orgmode.org/list/[email protected]
---
 doc/org-manual.org | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/org-manual.org b/doc/org-manual.org
index 64d739d77d..49b07cba65 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -13750,6 +13750,11 @@ following lines before the table in the Org file:
 ,#+ATTR_HTML: :border 2 :rules all :frame border
 #+end_example
 
+Note that table attributes are deprecated in HTML5 in favor of CSS.
+When the doctype is set to HTML5 (see [[*HTML doctypes]]), Org ignores
+~org-html-table-default-attributes~.  =#+ATTR_HTML:= is still
+respected, but not recommended.
+
 The HTML export backend preserves column groupings in Org tables (see
 [[*Column Groups]]) when exporting to HTML.
 

Reply via email to