diff options
author | smcv <smcv@web> | 2014-09-17 07:35:07 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-09-17 07:35:07 -0400 |
commit | 03319d79b1f742ea20658e76911be4ecbfc550b9 (patch) | |
tree | 3fe83d828487ce651b04d1bf9f864599719d27c5 /doc/forum/PO_and_RTL_support | |
parent | 3c8db5814316baf1103dd677018265713a3adec9 (diff) | |
download | ikiwiki-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._comment | 20 |
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. +"""]] |