From: Mark Otto Date: Sat, 3 Sep 2011 06:35:28 +0000 (-0700) Subject: updated address examples X-Git-Tag: v1.3.0~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfa5ce70d490a82007c0f4b67ddacc2efba2b34b;p=thirdparty%2Fbootstrap.git updated address examples --- diff --git a/docs/index.html b/docs/index.html index de573406e5..52ea716149 100644 --- a/docs/index.html +++ b/docs/index.html @@ -354,13 +354,25 @@

Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.

Note: It's still okay to use <b> and <i> tags in HTML5 and they don't have to be styled bold and italic, respectively (although if there is a more semantic element, use it). <b> is meant to highlight words or phrases without conveying additional importance, while <i> is mostly for voice, technical terms, etc.

Addresses

-

The <address> element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:

-
- Twitter, Inc.
- 795 Folsom Ave, Suite 600
- San Francisco, CA 94107
- P: (123) 456-7890 -
+

The <address> element is used for contact information for its nearest ancestor, or the entire body of work. Here are two examples of how it could be used:

+ +
+
+
+ Twitter, Inc.
+ 795 Folsom Ave, Suite 600
+ San Francisco, CA 94107
+ P: (123) 456-7890 +
+
+
+
+ Full Name
+ first.last@gmail.com +
+
+
+

Note: Each line in an <address> must end with a line-break (<br />) or be wrapped in a block-level tag (e.g., <p>) to properly structure the content.

Abbreviations

For abbreviations and acronyms, use the <abbr> tag (<acronym> is deprecated in HTML5). Put the shorthand form within the tag and set a title for the complete name.