blob: 80ac02b595cc5b611c3e45ef89b4354514ba940f [file] [log] [blame]
<!DOCTYPE html>
<!--
| The property "text-align" dictates the alignment of the inline-level content,
| but does not impact the spacing between that content. The values "left",
| "center", and "right" are unaffected by the start and end edge of the line
| box.
| https://www.w3.org/TR/css3-text/#text-align
-->
<html>
<head>
<style>
body {
margin: 0px;
font-family: Roboto;
font-size: 20px;
}
.containing-block-left {
background-color: #03a9f4;
width: 200px;
text-align: left;
}
.containing-block-center {
background-color: #03a9f4;
width: 200px;
text-align: center;
}
.containing-block-right {
background-color: #03a9f4;
width: 200px;
text-align: right;
}
</style>
</head>
<body>
<div class="containing-block-left" dir="ltr">
<span>abcdefghijklm nopqrstuvwxyz</span>
</div>
<div class="containing-block-left" dir="rtl">
<span>abcdefghijklm nopqrstuvwxyz</span>
</div>
<div class="containing-block-center" dir="ltr">
<span>abcdefghijklm nopqrstuvwxyz</span>
</div>
<div class="containing-block-center" dir="rtl">
<span>abcdefghijklm nopqrstuvwxyz</span>
</div>
<div class="containing-block-right" dir="ltr">
<span>abcdefghijklm nopqrstuvwxyz</span>
</div>
<div class="containing-block-right" dir="rtl">
<span>abcdefghijklm nopqrstuvwxyz</span>
</div>
</body>
</html>