Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added element identifier example.

  • Loading branch information...
commit e234036da01f26469b737faba523b6e8d1688c0d 1 parent 3a67e5a
@nefarioustim authored
Showing with 24 additions and 0 deletions.
  1. +24 −0 index.md
View
24 index.md
@@ -365,7 +365,31 @@ Good semantic markup includes semantic element identifiers (i.e. the `id` and
it with classes and IDs that add to the description of the content within. For
example:
+\#TODO: NEEDS MORE COMPLEX EXAMPLE
+{% highlight html %}
+<div class="main-column">
+ <p>This is my primary content.</p>
+</div>
+
+<div class="right-column">
+ <p>This is my primary content.</p>
+</div>
+
+vs.
+
+<div class="article">
+ <p>This is my primary content.</p>
+</div>
+
+<div class="aside">
+ <p>This is my primary content.</p>
+</div>
+{% endhighlight %}
+
+See also:
+
+* \#TODO
#### Use correctly structured headings
Please sign in to comment.
Something went wrong with that request. Please try again.