Editing Talk:1144: Tags
Please sign your posts with ~~~~ |
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 48: | Line 48: | ||
:::Imagine, then, a Christmas tree. You can put the Christmas tree in a tree stand (<code><div class="tree-stand">Christmas tree</div></code>) or inside a big box (<code><div class="big-box">Christmas tree</div></code>), or both at once if you're feeling saucy (<code><div class="big-box"><div class="tree-stand">Christmas tree</div></div></code>). Note that the closing tag will backtrack through the code and close the first DIV it finds, so that you could put other things inside the big box too: <code><div class="big-box"><div class="tree-stand">Christmas tree</div>Christmas cookies</div></code>. Likewise, you can attach ornaments and tinsel to the tree. Since they're effects that you're adding to the tree, rather than containers into which you're putting the tree, you'd use SPAN: <code><span class="ornaments">Christmas tree</span></code> and/or <code><span class="tinsel">Christmas tree</span></code>. | :::Imagine, then, a Christmas tree. You can put the Christmas tree in a tree stand (<code><div class="tree-stand">Christmas tree</div></code>) or inside a big box (<code><div class="big-box">Christmas tree</div></code>), or both at once if you're feeling saucy (<code><div class="big-box"><div class="tree-stand">Christmas tree</div></div></code>). Note that the closing tag will backtrack through the code and close the first DIV it finds, so that you could put other things inside the big box too: <code><div class="big-box"><div class="tree-stand">Christmas tree</div>Christmas cookies</div></code>. Likewise, you can attach ornaments and tinsel to the tree. Since they're effects that you're adding to the tree, rather than containers into which you're putting the tree, you'd use SPAN: <code><span class="ornaments">Christmas tree</span></code> and/or <code><span class="tinsel">Christmas tree</span></code>. | ||
− | :::You can even have a Christmas tree with ornaments on the left | + | :::You can even have a Christmas tree with ornaments on the left, tinsel on the right, in a tree stand, inside a big box, with some cookies in the box with it: |
:::<code><div class="big-box"></code> | :::<code><div class="big-box"></code> | ||
::::<code><div class="tree-stand"></code> | ::::<code><div class="tree-stand"></code> |