aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/PO_and_RTL_support
diff options
context:
space:
mode:
authorsmcv <smcv@web>2014-09-17 07:35:07 -0400
committeradmin <admin@branchable.com>2014-09-17 07:35:07 -0400
commit03319d79b1f742ea20658e76911be4ecbfc550b9 (patch)
tree3fe83d828487ce651b04d1bf9f864599719d27c5 /doc/forum/PO_and_RTL_support
parent3c8db5814316baf1103dd677018265713a3adec9 (diff)
downloadikiwiki-03319d79b1f742ea20658e76911be4ecbfc550b9.tar
ikiwiki-03319d79b1f742ea20658e76911be4ecbfc550b9.tar.gz
Added a comment
Diffstat (limited to 'doc/forum/PO_and_RTL_support')
-rw-r--r--doc/forum/PO_and_RTL_support/comment_5_4f4e16afd6012796ef87a14aafe11d79._comment20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/forum/PO_and_RTL_support/comment_5_4f4e16afd6012796ef87a14aafe11d79._comment b/doc/forum/PO_and_RTL_support/comment_5_4f4e16afd6012796ef87a14aafe11d79._comment
new file mode 100644
index 000000000..91a2870fe
--- /dev/null
+++ b/doc/forum/PO_and_RTL_support/comment_5_4f4e16afd6012796ef87a14aafe11d79._comment
@@ -0,0 +1,20 @@
+[[!comment format=mdwn
+ username="smcv"
+ ip="81.100.115.242"
+ subject="comment 5"
+ date="2014-09-17T11:35:07Z"
+ content="""
+`<div>` is not specifically preferred, any block-level element will do
+(e.g. `<p>`); but `<div>` is something you can wrap around any block,
+so it's good for a generic `\[[!template]]`.
+
+The difference between the use of a `dir` attribute and the use
+of a `class` attribute is that `dir` has a spec-defined semantic
+meaning in HTML4 and HTML5: search engines can look at
+`<div dir=\"rtl\">` and know that it is definitely right-to-left.
+
+`<div class=\"rtl\">` *might* mean right-to-left, but it could equally
+well mean (for instance) documentation about a run-time library,
+or something; classes have no built-in semantic meaning that generic
+user-agents like browsers and search engines can rely on.
+"""]]