]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Added a comment
authorsmcv <smcv@web>
Wed, 17 Sep 2014 11:35:07 +0000 (07:35 -0400)
committeradmin <admin@branchable.com>
Wed, 17 Sep 2014 11:35:07 +0000 (07:35 -0400)
doc/forum/PO_and_RTL_support/comment_5_4f4e16afd6012796ef87a14aafe11d79._comment [new file with mode: 0644]

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 (file)
index 0000000..91a2870
--- /dev/null
@@ -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.
+"""]]