Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions live-examples/html-examples/inline-text-semantics/bdi.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<p>Say <i>Hello</i> in different languages:</p>
<ul>
<li>Arabic: <bdi>السلام عليكم</bdi> (as-salām 'alaykum)</li>
<li>French: <bdi>Salut</bdi></li>
<li>German: <bdi>Hallo</bdi></li>
<li>Hebrew: <bdi>שלום</bdi> (shalom)</li>
<li>Persian: <bdi>سلام</bdi> (salam)</li>
</ul>
2 changes: 2 additions & 0 deletions live-examples/html-examples/inline-text-semantics/bdo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<p>This text will go left to right.</p>
<p><bdo dir="rtl">This text will go right to left.</bdo></p>
3 changes: 3 additions & 0 deletions live-examples/html-examples/inline-text-semantics/css/bdi.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bdi {
font-weight: bold
}
3 changes: 3 additions & 0 deletions live-examples/html-examples/inline-text-semantics/css/bdo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bdo {

}
20 changes: 20 additions & 0 deletions live-examples/html-examples/inline-text-semantics/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,26 @@
"title": "HTML Demo: <abbr>",
"type": "tabbed"
},
"bdi": {
"baseTmpl": "tmpl/live-tabbed-tmpl.html",
"exampleCode":
"live-examples/html-examples/inline-text-semantics/bdi.html",
"cssExampleSrc":
"live-examples/html-examples/inline-text-semantics/css/bdi.css",
"fileName": "bdi.html",
"title": "HTML Demo: <bdi>",
"type": "tabbed"
},
"bdo": {
"baseTmpl": "tmpl/live-tabbed-tmpl.html",
"exampleCode":
"live-examples/html-examples/inline-text-semantics/bdo.html",
"cssExampleSrc":
"live-examples/html-examples/inline-text-semantics/css/bdo.css",
"fileName": "bdo.html",
"title": "HTML Demo: <bdo>",
"type": "tabbed"
},
"b": {
"baseTmpl": "tmpl/live-tabbed-tmpl.html",
"exampleCode":
Expand Down